/* ═══════════ ABOUT TEAM PAGE — light theme ═══════════ */

/* ── 1. HERO ── */
.tm-hero {
  padding: 64px 0 72px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 55%, #fff7ed 100%);
  position: relative; overflow: hidden;
}
.tm-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(59,130,246,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center top, #000 30%, transparent 75%);
}
.tm-hero-copy {
  max-width: 860px; margin: 0 auto; text-align: center;
  position: relative; z-index: 2;
}
.tm-breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-4); margin-bottom: 16px;
}
.tm-breadcrumb a { color: var(--text-4); transition: color .2s; }
.tm-breadcrumb a:hover { color: var(--indigo-deep); }
.tm-breadcrumb span { color: var(--indigo-deep); }
.tm-breadcrumb .tm-bc-sep { color: var(--text-4); }

.tm-hero-copy .sec-tag { margin-bottom: 18px; }
.tm-hero-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400; line-height: 1.25;
  letter-spacing: -.02em; color: var(--text);
  margin-bottom: 20px;
}
.tm-mark-blue, .tm-mark-orange { font-weight: 700; padding: 0 4px; border-radius: 6px; }
.tm-mark-blue   { color: var(--teal-deep);   background: linear-gradient(180deg, transparent 62%, rgba(59,130,246,.18) 62%); }
.tm-mark-orange { color: var(--indigo-deep); background: linear-gradient(180deg, transparent 62%, rgba(249,115,22,.2) 62%); }
.tm-hero-sub {
  font-size: 1rem; color: var(--text-3); line-height: 1.85;
  max-width: 720px; margin: 0 auto;
}

/* impact strip */
.tm-impact {
  position: relative; z-index: 2;
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr) 1.6fr;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.tm-impact-item {
  padding: 24px 22px; text-align: center;
  border-right: 1.5px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
}
.tm-impact-item:last-child { border-right: 0; }
.tm-impact-num {
  font-family: var(--font-h); font-size: 2rem; font-weight: 700;
  line-height: 1.1; margin-bottom: 6px;
}
.tm-impact-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-3);
}
.tm-c-blue   { color: var(--teal-deep); }
.tm-c-orange { color: var(--indigo-deep); }
.tm-c-dark   { color: var(--text); }
.tm-impact-rating { background: linear-gradient(135deg, var(--indigo-pale), var(--teal-pale)); }
.tm-impact-rating .tm-impact-label { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 600; color: var(--text-2); line-height: 1.5; }
.tm-stars { font-size: 1rem; color: var(--rose); letter-spacing: 2px; vertical-align: middle; }

/* ── SHARED ── */
.tm-section { padding: 88px 0; background: #fff; }
.tm-section-soft { background: var(--bg); }
.tm-section-hd { margin-bottom: 44px; }
.tm-center { text-align: center; }
.tm-center .sec-sub { margin-left: auto; margin-right: auto; max-width: 740px; }

/* ── 2. STORY ── */
.tm-story {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 64px; align-items: start;
}
.tm-story-head { position: sticky; top: 140px; }
.tm-story-head .sec-h { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.tm-story-text {
  font-size: 1rem; color: var(--text-3); line-height: 1.95;
  padding-left: 22px; border-left: 3px solid var(--indigo);
  margin-bottom: 28px;
}
.tm-hl { color: var(--indigo-deep); font-weight: 700; }
.tm-alumni-box {
  background: linear-gradient(135deg, var(--teal-pale), #fff);
  border: 1.5px solid var(--border-teal);
  border-radius: var(--radius-lg); padding: 24px 26px;
}
.tm-alumni-text { font-size: .96rem; color: var(--text-2); line-height: 2.3; font-weight: 500; }
.tm-co {
  display: inline-block; padding: 1px 11px; margin: 2px 0;
  border-radius: 100px; line-height: 1.7;
  background: #fff; border: 1px solid var(--border-teal);
  color: var(--teal-deep); font-weight: 700; font-size: .84rem;
  box-shadow: 0 1px 3px rgba(29,78,216,.08);
}

/* ── 3. FACULTY ── */
.tm-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 100px; padding: 6px;
  width: fit-content; max-width: 100%;
  margin: 0 auto 40px; box-shadow: var(--shadow);
}
.tm-tab {
  padding: 9px 18px; border-radius: 100px; border: 0; cursor: pointer;
  font-family: var(--font-b); font-size: .8rem; font-weight: 600;
  background: transparent; color: var(--text-3);
  transition: background .22s var(--ease), color .22s var(--ease);
  white-space: nowrap;
}
.tm-tab:hover { color: var(--indigo-deep); background: var(--indigo-pale); }
.tm-tab.active { background: linear-gradient(135deg, var(--indigo-deep), var(--indigo)); color: #fff; }
.tm-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.tm-fac-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tm-fac-card {
  --acc: var(--teal); --acc-pale: var(--teal-pale);
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1.5px solid var(--border);
  border-left: 4px solid var(--acc);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tm-fac-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tm-fac-card.is-hidden { display: none; }

.tm-a-blue   { --acc: #3b82f6; --acc-pale: #eff6ff; --acc-deep: #1d4ed8; }
.tm-a-orange { --acc: #f97316; --acc-pale: #fff7ed; --acc-deep: #ea580c; }
.tm-a-sky    { --acc: #0ea5e9; --acc-pale: #f0f9ff; --acc-deep: #0369a1; }
.tm-a-amber  { --acc: #f59e0b; --acc-pale: #fffbeb; --acc-deep: #b45309; }

.tm-fac-avatar, .tm-fac-img {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  border: 3px solid #fff; box-shadow: 0 0 0 2px var(--acc), 0 6px 16px rgba(10,15,30,.1);
}
.tm-fac-avatar {
  background: var(--acc-pale); color: var(--acc-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 700;
}
.tm-fac-img { object-fit: cover; display: block; }
.tm-fac-body { flex: 1; min-width: 0; }
.tm-fac-name {
  font-family: var(--font-b); font-size: 1.05rem; font-weight: 700;
  color: var(--text); line-height: 1.3; margin-bottom: 6px;
}
.tm-fac-role {
  display: inline-block; font-size: .74rem; font-weight: 700;
  color: var(--acc-deep); background: var(--acc-pale);
  padding: 4px 10px; border-radius: 8px; line-height: 1.5;
  margin-bottom: 12px;
}
.tm-fac-text { font-size: .86rem; color: var(--text-3); line-height: 1.75; }

.tm-fac-note {
  position: relative; overflow: hidden;
  margin: 40px 0 0;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 50%, #eff6ff 100%);
  border: 1.5px solid rgba(249,115,22,.25);
  border-radius: 20px; padding: 30px 32px 28px;
  box-shadow: var(--shadow-md);
}
.tm-fac-note::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #ea580c, #fb923c 30%, #60a5fa 70%, #1d4ed8);
}
.tm-fac-note-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; background: #fff;
  border: 1.5px solid rgba(249,115,22,.25);
  box-shadow: 0 0 0 5px #ffedd5;
}
.tm-fac-note-text {
  margin: 0; text-align: left;
  font-size: 1rem; color: var(--text-2); line-height: 1.8; font-weight: 500;
}
.tm-fac-note .btn { white-space: nowrap; }

/* ── 4. SUPPORT STEPS ── */
.tm-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  position: relative;
}
.tm-steps::before {
  content: ""; position: absolute; top: 32px; left: 12%; right: 12%;
  height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(249,115,22,.45) 0 8px, transparent 8px 16px);
}
.tm-step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.tm-step-num {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-size: 1.3rem; font-weight: 700;
  color: var(--indigo-deep); background: #fff;
  border: 2px solid var(--indigo);
  box-shadow: 0 0 0 6px var(--indigo-pale), var(--shadow);
}
.tm-step:nth-child(2) .tm-step-num { color: var(--teal-deep); border-color: var(--teal); box-shadow: 0 0 0 6px var(--teal-pale), var(--shadow); }
.tm-step-title {
  font-family: var(--font-h); font-size: 1.15rem; font-weight: 700;
  color: var(--text); line-height: 1.3; margin-bottom: 10px;
}
.tm-step-text { font-size: .88rem; color: var(--text-3); line-height: 1.75; max-width: 340px; margin: 0 auto; }

/* ── 5. VALUES ── */
.tm-values {
  display: grid; grid-template-columns: .7fr 1.3fr;
  gap: 56px; align-items: center;
}
.tm-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tm-value {
  background: #fff; border: 1.5px solid var(--border);
  border-top: 4px solid var(--acc);
  border-radius: var(--radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tm-value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tm-value-icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; background: var(--acc-pale);
}
.tm-value-title {
  font-family: var(--font-h); font-size: 1.1rem; font-weight: 700;
  color: var(--text); line-height: 1.3; margin-bottom: 8px;
}
.tm-value-text { font-size: .85rem; color: var(--text-3); line-height: 1.75; }

/* ── 6. JOIN ── */
.tm-join {
  text-align: center;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 50%, #eff6ff 100%);
  border: 1.5px solid rgba(249,115,22,.25);
  border-radius: 28px; padding: 56px 48px;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.tm-join::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #ea580c, #fb923c 30%, #60a5fa 70%, #1d4ed8);
}
.tm-join-h { max-width: 760px; margin: 0 auto 36px; }
.tm-join-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 880px; margin: 0 auto 36px; text-align: left;
}
.tm-join-item {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow);
}
.tm-join-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; background: var(--indigo-dim);
}
.tm-join-item:nth-child(2) .tm-join-icon { background: var(--teal-dim); }
.tm-join-title {
  font-family: var(--font-b); font-size: .76rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--indigo-deep); margin-bottom: 8px;
}
.tm-join-item:nth-child(2) .tm-join-title { color: var(--teal-deep); }
.tm-join-text { font-size: .9rem; color: var(--text-2); line-height: 1.75; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .tm-impact { grid-template-columns: repeat(4, 1fr); }
  .tm-impact-rating { grid-column: 1 / -1; border-right: 0; border-top: 1.5px solid var(--border); }
}
@media (max-width: 1024px) {
  .tm-story, .tm-values { grid-template-columns: 1fr; gap: 32px; }
  .tm-story-head { position: static; }
  .tm-fac-grid { grid-template-columns: 1fr; }
  .tm-tabs { border-radius: var(--radius-lg); }
}
@media (max-width: 768px) {
  .tm-hero { padding: 44px 0 52px; }
  .tm-hero-title { font-size: 1.9rem; }
  .tm-impact { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .tm-impact-item { padding: 18px 14px; border-bottom: 1.5px solid var(--border); }
  .tm-impact-item:nth-child(2n) { border-right: 0; }
  .tm-impact-rating { border-bottom: 0; border-top: 0; }
  .tm-impact-num { font-size: 1.6rem; }
  .tm-section { padding: 56px 0; }
  .tm-section-hd { margin-bottom: 32px; }
  .tm-tabs {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    width: 100%; border-radius: 100px; scrollbar-width: none;
  }
  .tm-tabs::-webkit-scrollbar { display: none; }
  .tm-tab { flex: 0 0 auto; }
  .tm-fac-card { padding: 20px 18px; gap: 16px; }
  .tm-fac-avatar, .tm-fac-img { width: 56px; height: 56px; font-size: 1.05rem; }
  .tm-fac-note {
    grid-template-columns: 1fr; justify-items: center; text-align: center;
    gap: 16px; padding: 28px 18px 24px; margin-top: 28px;
  }
  .tm-fac-note-text { text-align: center; font-size: .93rem; }
  .tm-fac-note .btn { width: 100%; white-space: normal; }
  .tm-steps { grid-template-columns: 1fr; gap: 36px; }
  .tm-steps::before { display: none; }
  .tm-values-grid { grid-template-columns: 1fr; }
  .tm-join { padding: 40px 22px; border-radius: var(--radius-xl); }
  .tm-join-info { grid-template-columns: 1fr; }
  .tm-join .btn { width: 100%; }
}