/* ===== Team ===== */
.tm { --pad: clamp(16px, 5.6vw, 80px); padding: 48px var(--pad); background: var(--ivory); color: var(--burgundy-dark); text-align: center; }
.tm-moments { background: var(--paleblue-light); }
.tm-in { max-width: 1280px; margin: 0 auto; display: grid; gap: 28px; justify-items: center; }
.tm-lb { margin: 0; font-family: 'PP Frama', 'SUIT', sans-serif; font-size: 20px; line-height: 1.2; letter-spacing: -.04em; color: var(--burgundy); }
.tm-team { margin: 0; }
.tm-team img { display: block; max-width: 100%; height: auto; max-height: 70vh; }
.tm-ms { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 32px 24px; }
.tm-m { width: 260px; max-width: 100%; }
.tm-m h3 { margin: 14px 0 0; font-family: var(--font-body); font-weight: 700; font-size: 24px; line-height: 1.25; letter-spacing: -.04em; }
.tm-ph { position: relative; display: grid; place-items: center; }
.tm-ph:not(:has(img)) { aspect-ratio: 4 / 5; background: var(--paleblue-light); }
.tm-ph:not(:has(img))::before { content: attr(data-i); font-family: var(--font-body); font-weight: 700; font-size: 48px; color: var(--burgundy); }
.tm-ph img { display: block; width: 100%; height: auto; }
.tm-tbd { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--burgundy-dark); }
.tm-g { display: grid; justify-items: center; }
.tm-g h3 { margin: 0 0 14px; font-family: var(--font-body); font-weight: 700; font-size: 20px; letter-spacing: -.04em; }
.tm-g + .tm-g { margin-top: 12px; }
.tm-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; }
.tm-f { margin: 0; width: min(300px, 100%); }
.tm-f img { display: block; width: 100%; height: auto; }
.tm-f figcaption { margin-top: 8px; font-size: 14px; line-height: 1.4; }
.tm-f figcaption:empty { display: none; }
@media (max-width: 900px) { .tm-ms { gap: 24px 12px; } .tm-m { width: min(260px, 44%); } .tm-m h3 { font-size: 18px; } .tm-tbd { font-size: 13px; } .tm-f { width: calc(50% - 8px); } }
