/* Team page */
.tm-intro { padding: 56px 0 24px; text-align: center; background: linear-gradient(180deg, #fff7f8, #ffffff); }
.tm-eyebrow { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(136, 19, 55,.1); color: #881337; font-weight: 700; font-size: .85rem; }
.tm-intro h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: #0a0f1e; margin: 16px auto 10px; max-width: 760px; }
.tm-intro > .container > p { color: #475569; max-width: 700px; margin: 0 auto; line-height: 1.7; }
.tm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; max-width: 800px; margin: 32px auto 0; }
.tm-stats div { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 10px; box-shadow: 0 8px 22px rgba(11,17,32,.05); }
.tm-stats strong { display: block; font-size: 1.9rem; color: #881337; }
.tm-stats span { color: #475569; font-size: .9rem; }

.tm-leaders { padding: 40px 0 60px; }
.tm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.tm-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px rgba(11,17,32,.08); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; scroll-margin-top: 100px; }
.tm-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(136, 19, 55,.16); }
.tm-photo { position: relative; aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; }
.tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.tm-exp { position: absolute; left: 14px; bottom: 14px; background: linear-gradient(135deg, #881337, #be123c); color: #fff; font-weight: 700; font-size: .82rem; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.tm-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tm-body h3 { margin: 0; color: #0a0f1e; font-size: 1.35rem; }
.tm-role { color: #881337; font-weight: 600; margin: 0; }
.tm-body p { color: #475569; line-height: 1.6; margin: 0; }
.tm-body ul { margin: 4px 0 0; padding-left: 18px; color: #334155; line-height: 1.7; font-size: .95rem; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tm-tags span { background: #f1f5f9; border: 1px solid #e2e8f0; color: #0a0f1e; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.tm-link { margin-top: auto; padding-top: 8px; color: #881337; font-weight: 700; text-decoration: none; }
.tm-link:hover { text-decoration: underline; }

.tm-how, .tm-depts { padding: 56px 0; }
.tm-how { background: #0a0f1e; color: #f8fafc; text-align: center; }
.tm-how h2, .tm-depts h2 { text-align: center; margin-bottom: 28px; font-size: clamp(1.5rem, 3vw, 2rem); }
.tm-how h2 { color: #fff; }
.tm-depts h2 { color: #0a0f1e; }
.tm-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.tm-flow div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px 16px; }
.tm-flow i { font-size: 1.6rem; color: #f59e0b; margin-bottom: 10px; }
.tm-flow h4 { margin: 0 0 6px; color: #fff; }
.tm-flow p { margin: 0; color: #cbd5e1; font-size: .92rem; }
.tm-dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.tm-dept-grid div { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px; box-shadow: 0 8px 22px rgba(11,17,32,.05); }
.tm-dept-grid h4 { margin: 0 0 8px; color: #881337; }
.tm-dept-grid p { margin: 0; color: #475569; line-height: 1.6; }

.tm-cta { padding: 64px 0; text-align: center; background: linear-gradient(135deg, #881337, #4c0519); color: #fff; }
.tm-cta h2 { color: #fff; margin-bottom: 8px; }
.tm-cta p { color: #fde68a; margin-bottom: 24px; }
.tm-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tm-btn { display: inline-flex; gap: 8px; align-items: center; padding: 12px 22px; border-radius: 10px; border: 1px solid rgba(255,255,255,.5); color: #fff; text-decoration: none; font-weight: 600; transition: all .2s ease; }
.tm-btn:hover { background: rgba(255,255,255,.15); }
.tm-btn.primary { background: #f59e0b; color: #0a0f1e; border-color: #f59e0b; }
.tm-btn.primary:hover { filter: brightness(1.08); }
@media (max-width: 600px) { .tm-grid { grid-template-columns: 1fr; } }
