.team-founders, .team-stylists {
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.team-founders, .team-stylists .shell { max-width: 1080px; }
.team-founders h1 {
  margin: 0 0 clamp(1.75rem, 4vw, 3.4rem);
  font-size: clamp(3rem, 6.5vw, 5.75rem);
  line-height: 1.05;
  text-align: center;
}
.founder-portraits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.9rem, 5vw, 3.75rem);
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.founder-portraits .text-link { display: inline-block; margin-top: 0.75rem; color: var(--gold); }
.founders-intro {
  max-width: 730px;
  margin: clamp(2rem, 5vw, 3.6rem) auto;
  color: var(--muted);
  text-align: center;
  line-height: 1.65;
}
.team-profile p { line-height: 1.65; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 6rem);
}
.team-profile { min-width: 0; }
.team-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
  background: #211c17;
  border: 1px solid #7e6543;
}
.team-profile-copy { padding-block: 1.5rem 0; }
.team-page .team-profile h2, .team-profile h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3.1vw, 2.8rem);
  line-height: 1.12;
}
.team-profile p { color: var(--muted); margin: 0 0 0.9rem; }
.team-profile .team-role {
  margin: 0.6rem 0 1rem;
  color: var(--gold);
  font: 400 0.76rem/1.45 var(--heading-font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.team-profile .text-link { color: var(--gold); }

.team-stylists {
  background: var(--cream);
  color: var(--ink);
  color-scheme: light;
}
.team-stylists .team-grid { margin-top: clamp(1.75rem, 4vw, 3.25rem); }
.team-stylists .team-profile p { color: #50463c; }
.team-stylists .team-profile .team-role, .team-stylists .team-profile .text-link { color: #755634; }

@media (min-width: 960px) {
  .team-founders {
    width: calc(100% - 48px);
    max-width: 1500px;
  }
  .founder-portraits {
    max-width: none;
    gap: 2%;
  }
  .founder-portraits .team-portrait {
    height: 700px;
    aspect-ratio: auto;
    object-position: center top;
  }
  .team-founders .team-grid {
    width: min(calc(100vw - 64px), 1080px);
    margin-inline: auto;
  }
}

@media (min-width: 1201px) {
  .founder-portraits { width: calc(80vw - 46px); max-width: 100%; }
}

@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}
