/* Team page — design: Team.dc.html. Shares .bp/.bpl/.crumb/.chip/.bbadge from blog.css. */
.team-hero { display: flex; gap: 56px; padding: 64px var(--pad) 72px; }
.team-hero__text { flex: 1 1 0; display: flex; flex-direction: column; gap: 22px; padding-top: 10px; }
.team-hero__eyebrow { margin: 0; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: 0.12em; color: #FF8A57; }
.team-hero h1 { margin: 0; font-family: Archivo, sans-serif; font-weight: 800; font-size: 56px; line-height: 1.05; letter-spacing: -0.015em; color: #fff; }
.team-hero__intro { margin: 0; font-size: 18px; line-height: 1.6; color: #C3CCE2; max-width: 520px; }
.team-hero__stats { display: flex; flex-wrap: wrap; align-self: flex-start; border: 1px solid #2E3F6E; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #C3CCE2; }
.team-hero__stats span { padding: 10px 16px; border-right: 1px solid #2E3F6E; }
.team-hero__stats span:last-child { border-right: 0; }
.team-hero__photo {
  width: 520px; height: 390px; flex-shrink: 0; border: 1px solid #2A3D75; border-radius: 6px; overflow: hidden;
  display: flex; align-items: flex-end; background-color: #1A2A55;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px);
}
.team-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-hero__photo span { padding: 14px 18px; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #A9B4CF; }

/* Banner layout: heading on top, the whole-team photo below at its own aspect ratio — nobody is cropped. */
.team-hero--banner { flex-direction: column; gap: 40px; padding-bottom: 80px; }
.team-hero--banner .team-hero__text { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 56px; padding-top: 0; }
.team-hero--banner .team-hero__text > .team-hero__eyebrow { flex-basis: 100%; }
.team-hero--banner h1 { flex: 1 1 520px; }
.team-hero--banner .team-hero__intro { flex: 0 1 460px; }
.team-hero--banner .team-hero__stats { flex-basis: 100%; }
.team-hero__banner { margin: 0; border: 1px solid #2A3D75; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); background: #1A2A55; }
.team-hero__banner img { display: block; width: 100%; height: auto; }
.team-hero__ph { display: flex; align-items: flex-end; aspect-ratio: 2.36 / 1; padding: 14px 18px; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #A9B4CF; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px); }

.team-grid { padding: 80px var(--pad) 96px; display: flex; flex-direction: column; gap: 28px; }
.team-grid .sec-head { margin-bottom: 0; }
.team-count { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #6A7490; white-space: nowrap; }
.team-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.team-filter .chip { font-size: 12px; letter-spacing: 0.06em; padding: 12px 14px; font-weight: 400; }
.team-filter .chip:hover { background: #fff; }
.team-filter .chip.is-on { background: var(--navy); color: #fff; }

.tcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tcard { background: #fff; border: 1px solid #D5DCEA; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.tcard[hidden] { display: none; }
.tcard.is-on { border-color: var(--navy); box-shadow: 0 12px 28px rgba(10,22,51,.16); }
.tcard__photo { position: relative; aspect-ratio: 4 / 5; background-color: #DCE2EE; background-image: repeating-linear-gradient(135deg, rgba(14,21,38,.06) 0 10px, transparent 10px 20px); display: flex; align-items: flex-end; }
.tcard__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tcard__ph { padding: 10px 14px; font-family: "IBM Plex Mono", monospace; font-size: 11px; color: #4A5570; }
.tcard__disc { position: absolute; right: 12px; bottom: 12px; box-shadow: 0 0 0 2px #fff; }
.tcard__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.tcard__name { font-family: Archivo, sans-serif; font-weight: 700; font-size: 19px; color: var(--navy); }
.tcard__role { font-size: 14px; font-weight: 500; color: var(--blue); }
.tcard__line { font-size: 13px; line-height: 1.5; color: #4A5570; }
.tcard__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 2px; }
.tcard__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tcard__btn { border: 1px solid #C9D1E3; background: #fff; color: var(--navy); border-radius: 3px; padding: 9px 12px; font-size: 13px; font-weight: 600; }
.tcard__btn:hover { border-color: var(--navy); color: var(--navy); }
.tcard.is-on .tcard__btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.tcard__li { font-size: 13px; font-weight: 600; color: var(--blue); }

.tprofile { background: #fff; border: 1px solid var(--navy); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 300px 1fr 300px; outline: none; }
.tprofile[hidden] { display: none; }
.tprofile__photo { min-height: 360px; background-color: #DCE2EE; background-image: repeating-linear-gradient(135deg, rgba(14,21,38,.06) 0 10px, transparent 10px 20px); display: flex; align-items: flex-end; }
.tprofile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tprofile__main { padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.tprofile__tag { display: flex; align-items: center; gap: 10px; font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #6A7490; }
.tprofile__tag span:first-child { font-size: 11px; letter-spacing: 0.08em; color: #fff; background: var(--navy); padding: 4px 9px; border-radius: 3px; }
.tprofile__name { margin: 0; font-family: Archivo, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -0.01em; color: var(--navy); }
.tprofile__role { font-size: 16px; font-weight: 500; color: var(--blue); }
.tprofile__bio { margin: 0; font-size: 15px; line-height: 1.65; color: #4A5570; }
.tprofile__facts { margin: 0; display: grid; grid-template-columns: 140px 1fr; border-top: 1px solid #E3E8F2; font-size: 14px; }
.tprofile__facts dt, .tprofile__facts dd { margin: 0; padding: 11px 0; border-bottom: 1px solid #E3E8F2; }
.tprofile__facts dt { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.06em; color: #6A7490; }
.tprofile__facts dt:last-of-type, .tprofile__facts dd:last-of-type { border-bottom: 0; }
.tprofile__side { border-left: 1px solid #E3E8F2; padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.tprofile__side .post-lbl { color: var(--navy); }
.tprofile__post { background: #fff; border: 1px solid #D5DCEA; border-radius: 4px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; color: var(--navy); }
.tprofile__post span:first-child { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; color: #6A7490; }
.tprofile__post span:last-child { font-size: 14px; font-weight: 600; line-height: 1.35; }
.tprofile__post:hover { border-color: var(--navy); color: var(--blue); }
.tprofile__none { font-size: 13px; color: #6A7490; }
.tprofile__brief { margin-top: auto; text-align: center; font-weight: 600; font-size: 14px; color: #fff; background: var(--navy); padding: 13px 10px; border-radius: 4px; }
.tprofile__brief:hover { background: var(--blue); color: #fff; }

.team-hiring { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding: 80px var(--pad); }
.team-hiring > div { display: flex; flex-direction: column; gap: 14px; max-width: 720px; color: #fff; }
.team-hiring__eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: 0.1em; color: #FF8A57; }
.team-hiring__h { font-family: Archivo, sans-serif; font-weight: 800; font-size: 40px; line-height: 1.1; }
.team-hiring__p { font-size: 16px; line-height: 1.6; color: #C3CCE2; }
.team-hiring > a { flex-shrink: 0; background: #fff; color: var(--navy); font-weight: 600; font-size: 16px; padding: 17px 26px; border-radius: 4px; }
.team-hiring > a:hover { background: #EEF2FF; color: var(--navy); }

@media (max-width: 1240px) {
  .team-hero { flex-direction: column; }
  .team-hero__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tprofile { grid-template-columns: 240px 1fr; }
  .tprofile__side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #E3E8F2; }
}
@media (max-width: 700px) {
  .team-hero h1 { font-size: 38px; }
  .tcards { grid-template-columns: 1fr; }
  .tprofile { grid-template-columns: 1fr; }
  .tprofile__photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 420px; }
  .team-hiring { flex-direction: column; align-items: flex-start; }
  .team-hiring__h { font-size: 30px; }
}

/* Founder emblem: glowing logo with radiating pulses, static wordmark */
.femb { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 2px #fff; pointer-events: none; }
.femb svg { position: absolute; left: -20px; top: -20px; display: block; overflow: visible; }
.femb__halo { transform-origin: 100px 100px; animation: femb-breathe 3.2s ease-in-out infinite; }
.femb__pulse circle { fill: none; stroke: #6E93FF; stroke-width: 1.2; transform-origin: 100px 100px; opacity: 0; animation: femb-pulse 3.6s ease-out infinite; }
.femb__pulse circle:nth-child(2) { animation-delay: 1.2s; }
.femb__pulse circle:nth-child(3) { animation-delay: 2.4s; }
.femb__logo { transform-origin: 100px 104px; animation: femb-glow 3.2s ease-in-out infinite; }
@keyframes femb-pulse { 0% { transform: scale(.9); opacity: .75; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes femb-breathe { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes femb-glow { 0%, 100% { opacity: .85; } 50% { opacity: 1; filter: drop-shadow(0 0 6px #6E93FF); } }
@media (prefers-reduced-motion: reduce) { .femb * { animation: none !important; } .femb__pulse { display: none; } }

/* Founder card — first in the grid, navy, never filtered */
.tcards--founder { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tcard--founder { border-color: var(--navy); background: var(--navy); background-image: linear-gradient(rgba(110,147,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(110,147,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.tcard--founder .tcard__photo { background: #1B2A4E; }
.tcard--founder .tcard__name { color: #fff; }
.tcard__tag { align-self: flex-start; font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: .12em; color: #fff; background: var(--orange); padding: 4px 8px; border-radius: 3px; }
.tcard--founder .tcard__btn { background: #fff; border-color: #fff; color: var(--navy); }
.tcard--founder .tcard__btn:hover { background: #EEF2FF; }
.tcard--founder .tcard__li { color: #9DB5FF; }
.tcard--founder .tcard__foot { flex-wrap: wrap; }
@media (max-width: 1240px) { .tcards--founder { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tcards--founder { grid-template-columns: 1fr; } }

/* Compact cards */
.tcard__body { padding: 16px; gap: 6px; }
.tcard__line { display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tcard__foot { padding-top: 8px; }
.tcard__quote { color: #C3CCE2; font-style: italic; }
.tcards--founder .tcard__tags { flex-wrap: nowrap; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.tcards--founder .tcard__tags .tag { flex-shrink: 0; }
