/* Back link */
.back-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  background: rgba(39, 39, 42, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  text-decoration: none;
  transition: color 0.15s;
}

.back-link:hover {
  color: var(--teal-light);
}

/* Page title — teal like PDF */
.about-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #3d7a8a;
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .about-title { font-size: 2.5rem; }
}

/* Meet the Team heading */
.meet-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .meet-title { font-size: 1.75rem; }
}

/* Founders — no panel, directly on background */
.founders {
  width: 100%;
  max-width: 56rem;
  margin-bottom: 2rem;
}

/* Founder rows */
.founder-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.founder-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .founder-row {
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
  }

  .founder-row-reverse {
    flex-direction: row-reverse;
  }
}

/* Founder photo — square with small rounding like PDF */
.founder-photo {
  position: relative;
  flex-shrink: 0;
  width: 8rem;
  height: 8rem;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #1a1a1f;
}

@media (min-width: 768px) {
  .founder-photo {
    width: 10rem;
    height: 10rem;
  }
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder initials */
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  background: #1a1a1f;
}

.founder-photo img + .photo-placeholder,
.team-photo img + .photo-placeholder {
  display: none;
}

.founder-photo img[style*="display: none"] + .photo-placeholder,
.team-photo img[style*="display: none"] + .photo-placeholder {
  display: flex;
}

/* Founder info */
.founder-info {
  flex: 1;
  text-align: center;
}

@media (min-width: 768px) {
  .founder-info {
    text-align: left;
  }
  .founder-info-right {
    text-align: right;
  }
}

.founder-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .founder-name-right {
    justify-content: flex-end;
  }
}

.founder-role {
  font-size: 0.8125rem;
  color: #3d7a8a;
  margin: 0.25rem 0 0.75rem;
}

.founder-bio {
  font-size: 0.8125rem;
  color: #a1a1aa;
  line-height: 1.7;
}

/* LinkedIn badge — blue square like PDF */
.linkedin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: #0a66c2;
  border-radius: 0.2rem;
  color: #fff;
  transition: opacity 0.2s;
}

.linkedin-icon svg {
  width: 0.7rem;
  height: 0.7rem;
}

.linkedin-icon:hover {
  opacity: 0.8;
}

/* Team grid — directly on background, no panel */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
  width: 100%;
  max-width: 56rem;
  padding: 1rem 0 4rem;
}

@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
  }
}

/* Team card — no background, no border */
.team-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Team photo — square like PDF */
.team-photo {
  position: relative;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #1a1a1f;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo .photo-placeholder {
  font-size: 0.875rem;
}

/* Team info */
.team-info {
  flex: 1;
  min-width: 0;
}

.team-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.team-role {
  font-size: 0.75rem;
  color: #3d7a8a;
  margin-top: 0.125rem;
}

.team-desc {
  font-size: 0.75rem;
  color: #71717a;
  line-height: 1.4;
  margin-top: 0.25rem;
}
