/* Shared subpage shell: page heroes and band headings on the archive theme. */

.page-hero {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  border-bottom: 1px solid var(--hairline);
}

.cinematic-page .page-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(19rem, 44svh, 28rem);
  padding:
    clamp(3.4rem, 8svh, 5.5rem)
    max(1.2rem, calc((100% - var(--content)) / 2))
    clamp(2.4rem, 6svh, 4rem);
  background:
    radial-gradient(circle at 82% 0%, rgba(224, 56, 46, 0.1), transparent 24rem),
    var(--night);
}

.page-title-lockup {
  flex: 0 1 min(100%, 46rem);
  width: min(100%, 46rem);
}

.page-title-lockup h1,
.compact-hero h1,
.team-hero h1 {
  max-width: 14ch;
  margin-bottom: 0.4rem;
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

.page-hero .hero-redline {
  margin: 1.1rem 0 1.2rem;
}

.page-hero .hero-body {
  max-width: 40rem;
}

.team-page .team-hero {
  display: block;
}

.team-page .section-kicker {
  margin: 0 0 0.8rem;
  color: var(--paper-3);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-roster-band + .team-roster-band {
  padding-top: 0;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}

.team-member-card {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: clamp(1.2rem, 2vw, 1.5rem);
  border: 1px solid var(--hairline);
  background: var(--coal);
}

.team-member-portrait {
  width: 100%;
  max-width: 7.5rem;
}

.team-member-copy h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.team-member-copy p {
  margin: 0;
  color: var(--paper-2);
}

@media (max-width: 900px) {
  .page-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .cinematic-page .page-hero {
    min-height: 16rem;
  }

  .team-roster {
    grid-template-columns: 1fr;
  }
}
