

body { background: #0a0d12; }

.tm {
  --ink:      #05070a;
  --panel:    #12161d;
  --panel-2:  #171c24;
  --border:   #262c36;
  --border-2: #333c49;
  --text:     #e7ebf1;
  --muted:    #8a93a3;
  --accent:   #1f9be0;
  --green:    #17e88f;
  --radius:   14px;

  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 22px 90px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
}

.tm-flag {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  margin: 0 0 28px;
  background: rgba(255, 176, 32, .08);
  border: 1px solid rgba(255, 176, 32, .35);
  border-radius: 10px;
  color: #ffcf73;
  font-size: 13px;
  font-weight: 600;
}

.tm-hero { padding: 0 4px; margin: 0 0 36px; }
.tm-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 18px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 12px;
}
.tm-hero h1 { font-size: 34px; line-height: 1.2; margin: 0 0 10px; font-weight: 800; }
.tm-hero p { color: var(--muted); font-size: 15px; max-width: 720px; margin: 0; }

.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1080px) {
  .tm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .tm-grid { grid-template-columns: 1fr; }
}

.tm-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px;
  align-items: center;
  text-align: center;
}

.tm-photo {
  width: min(300px, 88%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border-2);
  display: block;
  cursor: zoom-in;
}

.tm-lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
  background: rgba(3, 4, 6, .88);
  cursor: zoom-out;
  padding: 40px;
}
.tm-lightbox.open { display: flex; }
.tm-lightbox img {
  max-width: min(640px, 90vw); max-height: 90vh;
  border-radius: 16px; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  border: 1px solid var(--border-2);
}

.tm-card-body { display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left; }

.tm-name { font-size: 22px; font-weight: 700; margin: 0; text-align: center; }
.tm-title { font-size: 14px; color: var(--accent); font-weight: 600; margin: 4px 0 0; text-align: center; }

.tm-covers {
  font-size: 12px; color: var(--muted);
  background: var(--panel-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px;
}
.tm-covers b { color: var(--text); }

.tm-field { font-size: 13px; line-height: 1.5; }
.tm-field b { color: var(--text); font-weight: 600; }
.tm-field span { color: var(--muted); }

.tm-bio { font-size: 13.5px; line-height: 1.6; color: var(--text); }

.tm-worklink { display: inline-block; align-self: center; font-size: 15px; font-weight: 700;
  color: var(--accent); text-decoration: none; padding: 12px 26px; border-radius: 10px;
  border: 1px solid var(--accent); margin-top: 4px; }
.tm-worklink:hover { background: var(--accent); color: var(--ink); }

.tm-link {
  font-size: 12px; color: var(--muted); font-style: italic;
}
