/* All rules are scoped to .gmc-team-page so they cannot leak
   into the rest of the D2C site chrome. */
.gmc-team-page {
  --bg:           #ffffff;
  --bg-soft:      #f7f7f8;
  --card-bg:      #ffffff;
  --border:       #e7e7ea;
  --border-hover: #c8ccd4;
  --text:         #0d1117;
  --text-muted:   #5a6271;
  --text-soft:    #8b94a3;
  --navy:         #1a2447;
  --navy-deep:    #121a36;
  --orange:       #e87722;

  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

.gmc-team-page a { color: inherit; }

/* ---------- Hero ---------- */
.gmc-team-page .team-hero {
  text-align: center;
  padding: 90px 20px 70px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.gmc-team-page .team-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-size: 0.74rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 18px;
}
.gmc-team-page .team-hero h1 {
  font-weight: 800;
  font-size: 3.2rem;
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.gmc-team-page .team-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}
.gmc-team-page .team-hero .accent-line {
  width: 56px;
  height: 3px;
  background: var(--orange);
  margin: 28px auto 0;
}

/* ---------- Section heading ---------- */
.gmc-team-page .section-heading {
  margin: 80px 0 36px;
  text-align: left;
}
.gmc-team-page .section-heading .label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--orange);
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}
.gmc-team-page .section-heading h2 {
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy);
  margin-top: 16px;
  margin-bottom: 0;
  letter-spacing: -0.01em;
}
.gmc-team-page .section-heading .desc {
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Staff card ---------- */
.gmc-team-page .staff-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}
.gmc-team-page .staff-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 18px 40px rgba(26, 36, 71, 0.10);
}

.gmc-team-page .staff-photo-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.gmc-team-page .staff-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.gmc-team-page .staff-card:hover .staff-photo {
  transform: scale(1.02);
}

.gmc-team-page .staff-info {
  padding: 22px 24px 22px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--navy);
}
.gmc-team-page .staff-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.gmc-team-page .staff-role {
  font-size: 0.76rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
}

.gmc-team-page .staff-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0 0 14px;
}

.gmc-team-page .staff-contact {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 8px 0;
  word-break: break-word;
  display: flex;
  align-items: center;
}
.gmc-team-page .staff-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.gmc-team-page .staff-contact a:hover { color: var(--navy); text-decoration: underline; }
.gmc-team-page .staff-contact .icon {
  color: var(--navy);
  width: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767px) {
  .gmc-team-page .team-hero h1 { font-size: 2.1rem; }
  .gmc-team-page .section-heading h2 { font-size: 1.55rem; }
}
