.team-page {
  background: #fff;
  color: var(--dark-charcoal, #1a1a1a);
}

.team-hero {
  padding: clamp(64px, 9vw, 118px) 24px;
  background: #f9f3eb;
  text-align: center;
}

.team-hero > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.team-kicker,
.team-role {
  color: var(--warm-gold, #b49226);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.team-hero h1 {
  margin: 12px auto 22px;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.team-hero > p:last-child,
.team-copy p,
.team-cta > p:not(.team-kicker) {
  color: #4b5551;
  font-family: var(--font-body, 'Lato', sans-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.85;
}

.team-list {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0;
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  padding: clamp(34px, 6vw, 72px) 0;
  border-bottom: 1px solid rgba(23, 32, 29, .12);
}

.team-profile:first-child { padding-top: 0; }
.team-profile:last-child { padding-bottom: 0; border-bottom: 0; }
.team-profile:nth-child(even) .team-photo-wrap { order: 2; }

.team-photo-wrap {
  aspect-ratio: 4 / 5;
  min-width: 0;
  overflow: hidden;
  background: #f3eee8;
}

.team-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-photo--nikki { object-position: center 34%; }
.team-photo--beck { object-position: top center; }

.team-copy h2,
.team-cta h2 {
  margin: 10px 0 22px;
  font-family: var(--font-heading, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  line-height: 1.12;
}

.team-copy p { margin: 0 0 16px; }

.team-copy a,
.team-cta a {
  display: inline-flex;
  margin-top: 8px;
  color: #7f641b;
  font-size: .77rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.team-copy a:hover { text-decoration: underline; }

.team-cta {
  padding: clamp(56px, 7vw, 88px) 24px;
  background: #243c34;
  color: #fff;
  text-align: center;
}

.team-cta > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.team-cta h2 { margin: 10px auto 22px; color: #fff; }
.team-cta > p:not(.team-kicker) { margin: 0 auto; color: rgba(255, 255, 255, .9); }
.team-cta a {
  margin: 28px auto 0;
  padding: 16px 24px;
  background: #fff;
  color: #243c34;
}

@media (max-width: 760px) {
  .team-list { width: min(100% - 32px, 560px); }
  .team-profile { grid-template-columns: 1fr; gap: 28px; }
  .team-profile:nth-child(even) .team-photo-wrap { order: initial; }
  .team-photo-wrap { aspect-ratio: 4 / 5; }
}
