/* Team Section Styles */

.team-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

@media (min-width: 768px) { .team-section { padding: 80px 0; } }
@media (min-width: 1200px) { .team-section { padding: 100px 0; } }

.team-inner {
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Team Header */
.team-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  margin-bottom: var(--space-lg);
}

@media (max-width: 1023px) {
  .team-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

.header-left {
  flex: 1;
  max-width: 832px;
}

.header-left h2,
.team-heading {
  margin: 0;
  font-family: var(--font-primary), sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) { .team-heading { font-size: 44px; } }
@media (min-width: 1200px) { .team-heading { font-size: 52px; } }

.heading-emphasis {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
}

/* Eyebrow */
.team-eyebrow {
  margin: 0 0 28px 0;
  font-family: var(--font-primary), sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.3;
}

@media (min-width: 768px) {
  .team-eyebrow { margin-bottom: 36px; }
}

@media (min-width: 1200px) {
  .team-eyebrow { margin-bottom: 40px; }
}

.header-right {
  flex-shrink: 0;
}

.header-right .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1.5px solid currentColor;
  border-radius: 100px;
  background: transparent;
  text-decoration: none;
  font-family: var(--font-primary), sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.header-right .btn svg {
  width: 13px;
  height: 13px;
}

/* Subtitle Badge */
.team-subtitle {
  margin-bottom: var(--space-lg);
}

.subtitle-badge {
  display: inline-block;
  padding: 6px 14px;
  font-family: var(--font-primary), sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  color: #0a0a0a;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 100px;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl) var(--space-md);
}

@media (max-width: 1023px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl) var(--space-md);
  }
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Team Member */
.team-member {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.member-photo {
  width: 64px;
  height: 64px;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

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

.member-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-photo-placeholder span {
  font-size: 18px;
  font-weight: 600;
}

.member-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
}

.member-name {
  margin: 0;
  font-family: var(--font-primary), sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

.member-title {
  margin: 0;
  font-family: var(--font-primary), sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--clr-neutral-dark);
  line-height: 1.5;
  opacity: 0.55;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .member-photo {
    width: 56px;
    height: 56px;
  }
  
  .member-name {
    font-size: 18px;
  }
  
  .member-title {
    font-size: 13px;
  }
}

