/* ============================================================
   Team Candidate Bio Pages — shared styles
   ============================================================ */

@import url('../styles.css');

:root {
  --team-max: 920px;
}

.team-page {
  background: var(--c-black);
  color: var(--c-white);
  min-height: 100vh;
  padding-bottom: 80px;
}

.team-runhead {
  background: linear-gradient(180deg, rgba(212,175,55,0.08), transparent);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  padding: 16px 0;
  font-family: var(--f-head);
  letter-spacing: 0.22em;
  font-size: 11.5px;
  color: var(--c-gold);
  text-align: center;
  text-transform: uppercase;
}
.team-runhead a {
  color: var(--c-gold);
  text-decoration: none;
}
.team-runhead a:hover { color: var(--c-gold-bright); }

.team-wrap {
  max-width: var(--team-max);
  margin: 0 auto;
  padding: 32px 28px 0;
}

/* ---------- Breadcrumb ---------- */
.team-crumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  font-family: var(--f-body);
}
.team-crumb a {
  color: var(--c-gold);
  text-decoration: none;
}
.team-crumb a:hover { color: var(--c-gold-bright); }
.team-crumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}
.team-crumb .current {
  color: rgba(255,255,255,0.85);
}

.team-back {
  display: inline-block;
  font-family: var(--f-head);
  letter-spacing: 0.14em;
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-gold);
  text-decoration: none;
  margin-bottom: 24px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--c-gold);
  transition: color .2s ease, border-color .2s ease;
}
.team-back:hover {
  color: var(--c-gold-bright);
  border-color: var(--c-gold-bright);
}

/* ---------- Hero band ---------- */
.team-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
.team-hero__photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(212,175,55,0.22), transparent 70%),
    linear-gradient(180deg, #1a1a22, #0a0a10);
  border: 2px solid var(--c-gold);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 0 5px rgba(212,175,55,0.08);
}
.team-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-hero__photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.team-hero__photo-initials {
  font-family: var(--f-display);
  font-size: 72px;
  color: var(--c-gold);
  opacity: 0.8;
  text-shadow: 0 0 24px rgba(212,175,55,0.35);
}
.team-hero__photo-pending {
  font-family: var(--f-head);
  letter-spacing: 0.18em;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.team-hero__body {
  min-width: 0;
}
.team-hero__office {
  font-family: var(--f-head);
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 8px;
}
.team-hero__name {
  font-family: var(--f-display);
  font-size: 48px;
  line-height: 1.05;
  color: var(--c-white);
  margin: 0 0 14px;
  letter-spacing: 0.005em;
}
.team-hero__sub {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 18px;
  color: var(--c-gold-bright);
  margin: 0 0 18px;
  line-height: 1.4;
}
.team-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.team-fact {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--c-gold-bright);
  font-family: var(--f-head);
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  text-transform: uppercase;
}

/* ---------- Bio body ---------- */
.team-body h2 {
  font-family: var(--f-display);
  font-size: 28px;
  letter-spacing: 0.005em;
  margin: 36px 0 14px;
  color: var(--c-gold-bright);
}
.team-body h2:first-of-type { margin-top: 0; }
.team-body p {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin: 0 0 16px;
}
.team-body p.lede {
  font-size: 18.5px;
  color: var(--c-white);
  border-left: 3px solid var(--c-gold);
  padding-left: 18px;
}
.team-body ul {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  padding-left: 22px;
  margin: 0 0 18px;
}
.team-body ul li::marker { color: var(--c-gold); }

.team-quote {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border-left: 4px solid var(--c-gold);
  padding: 26px 30px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.team-quote__mark {
  font-family: var(--f-display);
  font-size: 56px;
  color: var(--c-gold-bright);
  line-height: 0;
  opacity: 0.6;
  margin-right: 8px;
  vertical-align: -16px;
}
.team-quote__text {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--c-white);
  display: inline;
}
.team-quote__attr {
  display: block;
  font-family: var(--f-head);
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-top: 14px;
}

.team-pending {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(212,175,55,0.4);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin: 24px 0;
}
.team-pending p {
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 15.5px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ---------- Foot nav ---------- */
.team-foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(212,175,55,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.team-foot a {
  color: var(--c-gold);
  text-decoration: none;
  font-family: var(--f-head);
  letter-spacing: 0.14em;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
}
.team-foot a:hover { color: var(--c-gold-bright); }

/* ---------- Floating Back-to-Main FAB ---------- */
.team-fab {
  position: fixed;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  background: rgba(12, 19, 32, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fdfaf2;
  border: 2px solid var(--c-gold);
  border-radius: 999px;
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4), 0 0 0 4px rgba(212,175,55,0.12);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.team-fab:hover {
  background: var(--c-gold);
  color: var(--c-black);
  transform: translateY(-50%) translateX(3px);
}
.team-fab__icon { font-size: 18px; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .team-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .team-hero__photo-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
  .team-hero__name { font-size: 36px; }
  .team-body h2 { font-size: 24px; }
  .team-fab {
    left: 12px;
    padding: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }
  .team-fab__text { display: none; }
}
