/* ==========================================================================
   Team page — implemented from Team.dc.html
   Loaded after base.css and page.css.

   The only light-ground page in the set: bone body, dark header, alternating
   light/dark roster bands.
   ========================================================================== */
.page--light {
  background: var(--bone);
  color: var(--ink-card);
  min-height: 100vh;
}
.page--light a:hover { color: #a8823a; }

/* --- Header ------------------------------------------------------------- */
.bar--solid {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: rgba(244, 241, 234, .1);
  padding: 16px clamp(18px, 5vw, 70px);
}
.bar__brand--lg img {
  width: 34px;
  height: auto;
}
.bar__brand--lg span {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.team-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
}
.team-nav .navlink.is-current { color: var(--gold); }
.team-nav__home {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(244, 241, 234, .7);
}
.team-nav__home:hover { color: var(--gold); }

/* --- Intro -------------------------------------------------------------- */
.team-intro {
  position: relative;
  padding: clamp(64px, 10vw, 150px) var(--pad-x) clamp(40px, 5vw, 70px);
  overflow: hidden;
}
.team-intro__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.team-intro__ring--outer {
  right: -160px;
  top: -120px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(12, 28, 24, .07);
}
.team-intro__ring--inner {
  right: -60px;
  top: -20px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(201, 162, 77, .16);
}
.team-intro__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.team-intro__label { margin-bottom: 18px; }
.team-intro__title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: .94;
  letter-spacing: -.04em;
  color: var(--ink-card);
}
.team-intro__lede {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.62;
  color: rgba(12, 28, 24, .72);
  text-wrap: pretty;
}

.team-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 5vw, 70px);
  margin: clamp(38px, 5vw, 60px) 0 0;
  padding-top: 30px;
  border-top: 1px solid rgba(12, 28, 24, .12);
}
.team-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 48px);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink-card);
}
.team-stats dt {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(12, 28, 24, .5);
}

/* --- Roster groups ------------------------------------------------------ */
.team-group {
  padding: clamp(40px, 6vw, 80px) var(--pad-x) clamp(50px, 7vw, 100px);
}
.team-group--dark {
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(56px, 8vw, 110px);
}
.team-group__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.team-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 46px);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(12, 28, 24, .12);
}
.team-group--dark .team-group__head { border-bottom-color: rgba(244, 241, 234, .14); }
.team-group__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 38px);
  letter-spacing: -.03em;
}
.team-group__head span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .24em;
  color: rgba(12, 28, 24, .45);
}
.team-group--dark .team-group__head span { color: rgba(244, 241, 234, .45); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(22px, 2.6vw, 36px);
}

.person {
  border-top: 1px solid rgba(12, 28, 24, .12);
  padding-top: 20px;
}
.team-group--dark .person { border-top-color: rgba(244, 241, 234, .14); }

/* Locally-hosted headshots use <picture> for the WebP/JPEG pair. */
.person picture { display: block; }

.person img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 3px;
  background: #dfe4de;
  display: block;
  margin-bottom: 18px;
}
.team-group--dark .person img {
  object-position: 50% 20%;
  background: #0d2320;
  filter: saturate(.92);
}

.person h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
}
.person__role {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  color: #a8823a;
}
.team-group--dark .person__role { color: var(--gold); }
.person__bio {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.62;
  color: rgba(12, 28, 24, .68);
  text-wrap: pretty;
}
.team-group--dark .person__bio { color: rgba(244, 241, 234, .62); }

/* --- CTA ---------------------------------------------------------------- */
.team-cta {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  padding: clamp(70px, 10vw, 140px) var(--pad-x);
  overflow: hidden;
  text-align: center;
}
.team-cta__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(201, 162, 77, .12), rgba(7, 20, 17, 0) 62%);
}
.team-cta__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.team-cta h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
.team-cta p {
  margin: 0 auto 34px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.62;
  color: rgba(244, 241, 234, .66);
}
.team-cta__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: clamp(44px, 6vw, 72px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 860px) {
  .team-nav { display: none; }
  .team-nav__home { display: block; }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
}
