/* worker.ai /team (careers session, version 97): duotone portraits from each person's photo (600 px), every card the same,
   one line on what each person does, LinkedIn for everyone, a small Blog chip for John and Rene that opens their posts in a
   pop-up, a hiring tile. Flat Worker colours, no shadows; four across from 900 px, two across below. */
.tm-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); }
.tm-hero h1 { font-size: clamp(38px, 6vw, 72px); text-wrap: balance; }
.tm-sec { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.tm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
@media (min-width: 900px) { .tm-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 28px; } }
.tm-p { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.tm-ph { overflow: hidden; border-radius: 20px; background: #DAD4ED; aspect-ratio: 1; }
.tm-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.tm-p:hover .tm-ph img { transform: scale(1.03); }
.tm-p h2 { margin: 18px 0 0; font: 600 19px/1.25 var(--font-display, inherit); letter-spacing: -0.01em; color: var(--ink); }
.tm-l { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--fg-muted, #5A5A5A); }
.tm-so { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding-top: 14px; }
.tm-in { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: -9px; border-radius: 8px; color: var(--ink); opacity: 0.7; }
.tm-in:hover { opacity: 1; color: var(--blue); }
.tm-blog { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--border, #E4E4F1); border-radius: 999px; background: #FFFFFF; font-size: 13px; font-weight: 500; line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap; }
.tm-blog:hover { border-color: var(--blue); color: var(--blue); }
.tm-in:focus-visible, .tm-blog:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; opacity: 1; }
/* hiring tile */
.tm-join { margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 24px; border-radius: 24px; background: #EDEAFE; }
.tm-join h2 { margin: 0; font: 700 clamp(20px, 2vw, 24px)/1.2 var(--font-display, inherit); color: var(--ink); text-wrap: balance; }
.tm-join p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-muted, #5A5A5A); }
.tm-join .fb-btn { height: 44px; margin: 6px 0 0; padding: 0 18px; font-size: 15px; }
/* blog pop-up */
.tm-dlg { width: min(560px, calc(100vw - 32px)); max-height: min(80vh, 720px); padding: 0; border: 0; border-radius: 20px; background: #FFFFFF; color: var(--ink); }
.tm-dlg::backdrop { background: rgba(19, 19, 45, 0.55); }
.tm-dlg-in { position: relative; display: flex; flex-direction: column; max-height: min(80vh, 720px); padding: 24px 24px 20px; box-sizing: border-box; }
.tm-dlg-head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.tm-dlg-head img { width: 56px; height: 56px; border-radius: 14px; background: #DAD4ED; }
.tm-dlg-head h2 { margin: 0; font: 600 20px/1.2 var(--font-display, inherit); color: var(--ink); }
.tm-dlg-head p { margin: 3px 0 0; font-size: 14px; color: var(--fg-muted, #5A5A5A); }
.tm-dlg-list { list-style: none; margin: 18px 0 0; padding: 0; flex: 1 1 auto; min-height: 0; overflow-y: auto; border-top: 1px solid var(--border, #E4E4F1); overscroll-behavior: contain; }
.tm-dlg-list li { margin: 0; border-bottom: 1px solid var(--border, #E4E4F1); }
.tm-dlg-list a { display: block; padding: 12px 4px; text-decoration: none; }
.tm-dlg-list .t { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.tm-dlg-list a:hover .t { color: var(--blue); }
.tm-dlg-list .m { display: block; margin-top: 3px; font-size: 13px; color: var(--fg-muted, #5A5A5A); }
.tm-dlg-list a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; border-radius: 6px; }
.tm-dlg-all { align-self: flex-start; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--blue); }
.tm-x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: #F5F5F5; color: var(--ink); cursor: pointer; }
.tm-x:hover { background: #EDEAFE; }
.tm-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
html.tm-lock { overflow: hidden; }
@media (max-width: 899px) { .tm-p h2 { font-size: 17px; } .tm-l { font-size: 14px; } .tm-join { padding: 18px; } .tm-dlg-in { padding: 20px 18px 16px; } }
@media (prefers-reduced-motion: reduce) { .tm-ph img { transition: none; } .tm-p:hover .tm-ph img { transform: none; } }

/* initials tile for a person whose photo has not arrived yet (Jakub, version 102): same Light Blue square, Navy initials */
.tm-ini { display: grid; place-items: center; }
.tm-ini span { font: 600 clamp(40px, 6vw, 80px)/1 var(--font-display, inherit); letter-spacing: -0.02em; color: var(--ink); opacity: 0.8; user-select: none; }
