/* Release 398: the designer's "Meet our team" grid (real founding team), the members' words cards and the avatar call to action. */
.b-home .bh-kicker, .tm-page .bh-kicker { margin: 0 0 8px; font: 800 13px/1.2 var(--b-font); letter-spacing: .08em; text-transform: uppercase; color: var(--b-primary-600, #4b3fd8); }
:is(.b-home, .tm-page) .bh-team-lead { max-width: 620px; margin: 12px auto 0; color: var(--b-muted); }
:is(.b-home, .tm-page) .bh-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; margin: 48px 0 0; padding: 0; list-style: none; }
:is(.b-home, .tm-page) .bh-person { display: flex; flex-direction: column; align-items: center; text-align: center; }
:is(.b-home, .tm-page) .bh-person-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; background: var(--b-soft); box-shadow: 0 0 0 6px var(--b-primary-50, #f1efff); }
:is(.b-home, .tm-page) .bh-person-name { margin: 22px 0 4px; font: 800 19px/1.3 var(--b-font); color: var(--b-ink); }
:is(.b-home, .tm-page) .bh-person-role { margin: 0; font: 700 15px/1.3 var(--b-font); color: var(--b-primary-600, #4b3fd8); }
:is(.b-home, .tm-page) .bh-person-bio { margin: 10px 0 0; max-width: 250px; font-size: 15px; line-height: 1.55; color: var(--b-muted); }
:is(.b-home, .tm-page) .bh-person-li { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 14px; border-radius: 50%; color: var(--b-muted); }
:is(.b-home, .tm-page) .bh-person-li svg { width: 18px; height: 18px; }
:is(.b-home, .tm-page) .bh-person-li:hover { color: var(--b-primary-600, #4b3fd8); background: var(--b-primary-50, #f1efff); }
:is(.b-home, .tm-page) .bh-person-li:focus-visible { outline: 2px solid var(--b-primary-600, #4b3fd8); outline-offset: 2px; }
@media (max-width: 991px) { :is(.b-home, .tm-page) .bh-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { :is(.b-home, .tm-page) .bh-team-grid { gap: 32px 14px; margin-top: 32px; } :is(.b-home, .tm-page) .bh-person-photo { width: 92px; height: 92px; } :is(.b-home, .tm-page) .bh-person-name { margin-top: 16px; font-size: 16px; } :is(.b-home, .tm-page) .bh-person-role { font-size: 13.5px; } :is(.b-home, .tm-page) .bh-person-bio { font-size: 13.5px; } }

.b-home .bh-words-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; gap: 24px; margin-top: 40px; }
.b-home .bh-word { margin: 0; padding: 28px; border-radius: var(--b-radius, 16px); background: #fff; box-shadow: var(--b-shadow, 0 2px 12px rgba(20, 20, 43, .08)); display: flex; flex-direction: column; gap: 20px; }
.b-home .bh-word blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--b-ink); }
.b-home .bh-word figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.b-home .bh-word-init { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--b-primary-50, #f1efff); color: var(--b-primary-700, #3a30b0); font: 800 15px/1 var(--b-font); }
.b-home .bh-word b { display: block; font: 800 15px/1.3 var(--b-font); color: var(--b-ink); }
.b-home .bh-word small { color: var(--b-muted); font-size: 13.5px; }

.b-home .bh-join { padding: 24px 0 72px; }
.b-home .bh-join-card { padding: 40px 24px 44px; border-radius: 16px; background: #f9fafb; text-align: center; }
.b-home .bh-join-faces { display: flex; justify-content: center; align-items: center; }
.b-home .bh-join-faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: #e9e6fb; }
.b-home .bh-join-faces img + img { margin-left: -14px; }
.b-home .bh-join-faces img.is-near { position: relative; z-index: 1; width: 64px; height: 64px; }
.b-home .bh-join-faces img.is-mid { position: relative; z-index: 2; width: 80px; height: 80px; }
@media (max-width: 479px) { .b-home .bh-join-faces img { width: 44px; height: 44px; } .b-home .bh-join-faces img.is-near { width: 52px; height: 52px; } .b-home .bh-join-faces img.is-mid { width: 64px; height: 64px; } }
.b-home .bh-join-h { margin: 24px 0 8px; font: 800 22px/1.3 var(--b-font); color: var(--b-ink); }
.b-home .bh-join-p { max-width: 640px; margin: 0 auto 28px; font-size: 17px; line-height: 1.55; color: var(--b-muted); }

.bh-words-dialog { width: min(560px, calc(100vw - 32px)); padding: 28px; border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(20, 20, 43, .25); color: var(--b-ink, #170f49); }
.bh-words-dialog::backdrop { background: rgba(20, 20, 43, .45); backdrop-filter: blur(3px); }
.bh-words-dialog h2 { margin: 0 0 8px; font: 800 22px/1.3 var(--b-font, Nunito, system-ui, sans-serif); }
.bh-words-dialog .bh-words-note { margin: 0 0 18px; font-size: 14.5px; line-height: 1.5; color: var(--b-muted, #6f6c90); }
.bh-words-dialog label { display: block; margin: 0 0 14px; font-weight: 700; font-size: 14px; }
.bh-words-dialog :is(textarea, input:not([type])) { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d9dbe9; border-radius: 10px; font: 400 15px/1.45 inherit; box-sizing: border-box; }
.bh-words-dialog .bh-words-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bh-words-dialog .bh-words-ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.bh-words-dialog .bh-words-ok input { margin-top: 3px; }
.bh-words-dialog .bh-words-msg { min-height: 1.4em; margin: 0 0 12px; font-size: 14px; }
.bh-words-dialog .bh-words-msg.is-bad { color: #b42318; }
.bh-words-dialog .bh-words-msg.is-ok { color: #067647; }
@media (max-width: 479px) { .bh-words-dialog .bh-words-row { grid-template-columns: 1fr; } }

/* release 399: the team grid on /team, and the founders' own words under it */
:is(.b-home, .tm-page) .bh-person-links { display: flex; gap: 6px; margin: 14px 0 0; }
:is(.b-home, .tm-page) .bh-person-links .bh-person-li { margin-top: 0; }
.tm-page .bh-team .b-h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.tm-page .tm-words-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.tm-page .tm-word { margin: 0; padding: 28px; border-radius: 16px; background: #fff; box-shadow: 0 2px 12px rgba(20, 20, 43, .08); display: flex; flex-direction: column; gap: 20px; }
.tm-page .tm-word blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--b-ink, #170f49); }
.tm-page .tm-word figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tm-page .tm-word img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.tm-page .tm-word b { display: block; font-weight: 800; color: var(--b-ink, #170f49); }
.tm-page .tm-word small { color: var(--b-muted, #667085); font-size: 13.5px; }
