/* The company: founders' portraits and biographies over faded workshop imagery. */
.team-section {
  --team-ink: #19261f;
  --team-muted: #4b574e;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 4vw, 56px) 6% clamp(36px, 5vw, 72px);
  background: var(--flow-paper);
  color: var(--team-ink);
}
.team-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.team-atmosphere img {
  position: absolute;
  display: block;
  object-fit: cover;
  filter: saturate(.35);
  opacity: .25;
}
.team-welding {
  left: -8%;
  top: 24%;
  width: 65%;
  height: 65%;
  object-position: 25% center;
  mask-image: linear-gradient(90deg, #000, transparent 95%),
    linear-gradient(180deg, transparent, #000 20%, #000 64%, transparent);
  mask-composite: intersect;
}
.team-laboratory {
  right: -6%;
  bottom: -5%;
  width: 85%;
  height: 48%;
  object-position: center;
  mask-image: linear-gradient(90deg, transparent, #000),
    linear-gradient(180deg, transparent, #000 38%, transparent);
  mask-composite: intersect;
}
.team-content { max-width: 1120px; margin: 0 auto; }
.team-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding-bottom: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid #19261f30;
}
.team-intro h2 { font-size: clamp(36px, 4.3vw, 62px); letter-spacing: -.055em; }
.team-intro h2 em {
  display: inline-block;
  margin-top: .08em;
  color: #8a6b35;
  font-weight: 600;
}
.team-intro > p {
  max-width: 34ch;
  margin: 0 0 .2em;
  color: var(--team-muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.7;
}
.team-profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(36px, 5vw, 64px);
}
.team-person { min-width: 0; }
.team-portrait {
  width: min(100%, 300px);
  aspect-ratio: 4 / 5;
  margin: 0 0 30px;
  overflow: hidden;
  background: #d9d9cc;
  box-shadow: 0 12px 32px #19261f12;
}
.team-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.team-identity { margin-bottom: 24px; }
.team-identity h3 {
  margin: 0 0 10px;
  font-family: Georgia, serif;
  font-size: clamp(27px, 2.5vw, 35px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.team-identity h3 span {
  display: inline-block;
  margin-left: 8px;
  color: var(--team-muted);
  font: 400 12px/1.5 Arial, sans-serif;
  letter-spacing: .04em;
}
.team-role {
  margin: 0;
  color: #6e5730;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
.team-biography { max-width: 49ch; }
.team-biography > p {
  margin: 0 0 22px;
  color: #303e34;
  font-size: 17px;
  line-height: 1.85;
}
.team-credit {
  display: inline-block;
  margin-top: 8px;
  color: var(--team-muted);
  font-size: 11px;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.team-credit:focus-visible { outline: 2px solid #8a6b35; outline-offset: 5px; }

@media (max-width: 1000px) {
  .team-section { padding-left: 7%; padding-right: 7%; }
  .team-intro { grid-template-columns: 1fr; gap: 22px; }
  .team-intro > p { max-width: 38ch; }
  .team-role { font-size: 15px; }
  .team-welding { width: 115%; height: 45%; top: 14%; left: -32%; }
  .team-laboratory { width: 145%; height: 35%; bottom: 0; }
  .team-atmosphere img { opacity: .16; }
}
@media (max-width: 600px) {
  .team-profiles { grid-template-columns: 1fr; gap: 46px; }
  .team-person + .team-person { padding-top: 40px; border-top: 1px solid #19261f30; }
  .team-portrait { margin-bottom: 26px; }
  .team-biography { max-width: 65ch; }
}
