/* PROOF Team — small, direct, and built from the shared house system. */

.team-hero {
  padding: 118px 0 108px;
  background: var(--hull);
  color: var(--frost);
}

.team-hero .section-label { color: var(--frost); }

.team-hero h1 {
  max-width: 900px;
  margin: 0;
  font: 700 clamp(56px, 7vw, 92px)/0.96 "Space Grotesk", sans-serif;
  letter-spacing: -0.05em;
}

.team-hero h1 em {
  color: var(--beacon);
  font-style: normal;
}

.team-hero > .wrap > p:last-child {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(247, 248, 250, 0.7);
  font-size: 20px;
  line-height: 1.55;
}

.team-section { padding: 96px 0 108px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.team-card {
  min-height: 248px;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--smoke);
  border-radius: 20px;
  background: #fff;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.team-card:hover {
  border-color: rgba(255, 106, 44, 0.42);
  box-shadow: 0 18px 54px rgba(14, 18, 24, 0.08);
  transform: translateY(-2px);
}

.team-photo {
  display: block;
  width: 152px;
  height: 152px;
  border: 1px solid rgba(14, 18, 24, 0.08);
  border-radius: 20px;
  object-fit: cover;
}

.team-card-copy { min-width: 0; }

.team-title {
  margin: 10px 0 0;
  color: var(--beacon);
  font: 700 11px/1 "JetBrains Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-card h2 {
  margin: 0;
  color: var(--ink);
  font: 700 34px/1.05 "Space Grotesk", sans-serif;
  letter-spacing: -0.035em;
}

.team-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--ink);
  font: 600 15px/1.2 "Space Grotesk", sans-serif;
  text-decoration-color: var(--beacon);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.team-link:hover { color: var(--beacon); }
.team-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

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

@media (max-width: 880px) {
  .team-hero { padding: 76px 0 72px; }
  .team-hero h1 { font-size: clamp(46px, 14vw, 66px); }
  .team-hero > .wrap > p:last-child { margin-top: 22px; font-size: 17px; }
  .team-section { padding: 64px 0 72px; }
  .team-card h2 { font-size: 30px; }
}

@media (max-width: 600px) {
  .team-card { min-height: 0; grid-template-columns: 1fr; gap: 26px; padding: 28px; }
  .team-photo { width: 136px; height: 136px; }
}
