/* ================================================================== */
/* Team block — Concept D refined (paper marquee wall)                 */
/* ================================================================== */

.frame-label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #666; margin: 0 0 12px 2px;
}
.frame-canvas { width: 1440px; box-shadow: 0 20px 60px rgba(0,0,0,0.18); }

.tmd { background: var(--surface-page, #f6f3ec); padding: 100px 0 104px; overflow: hidden; }

/* Header ----------------------------------------------------------- */
.tmd-head { position: relative; max-width: 820px; margin: 0 auto; text-align: center; padding: 0 40px; }

.tmd-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-800, #23282a); font-weight: 500;
}
.tmd-title {
  margin: 18px 0 0; font-size: 46px; font-weight: 900; line-height: 1.06;
  letter-spacing: -0.025em; color: var(--ink-900, #0d0f0f); text-wrap: balance;
}
.tmd-title mark {
  background: var(--gradient-signature);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.tmd-lead {
  margin: 20px auto 0; font-size: 18px; line-height: 1.6; font-weight: 500;
  max-width: 620px; color: var(--text-secondary, #5c5a55);
}

/* awards ------------------------------------------------------------ */
.tmd-awards-block { margin-top: 8px; }
.tmd-awards-label {
  margin: 0 0 24px; text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted, #5c5a55);
}
.tmd-awards {
  display: flex; align-items: center;
  margin: 0 auto; max-width: 1280px; padding: 0 40px;
}
.tmd-awards .fbf-mq-set { justify-content: center; gap: 40px; }
.tmd-award { height: 48px; width: auto; display: block; }

.tmd-ctas { display: flex; gap: 14px; margin-top: 38px; justify-content: center; }

/* Marquee ---------------------------------------------------------- */
.tmd-marquee-wrap { position: relative; margin-top: 56px; }
.tmd-marquee-wrap::before, .tmd-marquee-wrap::after {
  content: ""; position: absolute; top: 50%; width: 560px; height: 620px;
  transform: translateY(-50%); pointer-events: none; z-index: 2;
}
.tmd-marquee-wrap::before {
  left: -230px;
  background: radial-gradient(closest-side, rgba(255,166,62,0.55), rgba(255,166,62,0.18) 45%, transparent 72%);
}
.tmd-marquee-wrap::after {
  right: -230px;
  background: radial-gradient(closest-side, rgba(255,166,62,0.55), rgba(255,166,62,0.18) 45%, transparent 72%);
}
.tmd-marquee {
  display: flex; overflow: hidden;
  padding: 14px 0 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tmd-strip { display: flex; gap: 20px; padding-right: 20px; flex-shrink: 0;
  animation: tmdScroll 48s linear infinite; }
.tmd-marquee:hover .tmd-strip { animation-play-state: paused; }
@keyframes tmdScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* Card ------------------------------------------------------------- */
.tmd-card {
  position: relative; width: 280px; height: 366px; border-radius: var(--radius-lg, 14px);
  overflow: hidden; background: #0d0f0f; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9);
  transition: transform 200ms cubic-bezier(0.2,0,0,1);
}
.tmd-card:hover { transform: translateY(-4px); }
.tmd-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block;
  transition: transform 260ms cubic-bezier(0.2,0,0,1);
}
.tmd-card:hover img { transform: scale(1.03); }

/* always-visible name bar */
.tmd-tag {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 48px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.88));
  color: #fff;
}
.tmd-tag b {
  display: flex; align-items: center; gap: 9px;
  font-size: 18px; font-weight: 800; letter-spacing: -0.01em;
}
.tmd-dot {
  flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--fbf-green, #28dc9a);
  box-shadow: 0 0 0 0 rgba(40,220,154,0.55), 0 0 10px 2px rgba(40,220,154,0.7);
}
.tmd-tag span {
  display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.72);
}

/* hover: ink veil + fact quote fades up above the name */
.tmd-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,15,15,0.42), rgba(13,15,15,0.9));
  opacity: 0; transition: opacity 260ms cubic-bezier(0.2,0,0,1);
}
.tmd-card:hover .tmd-veil { opacity: 1; }

.tmd-fact {
  position: absolute; left: 20px; right: 20px; bottom: 84px; z-index: 2;
  color: #fff; font-size: 14px; line-height: 1.55; font-weight: 600;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 260ms cubic-bezier(0.2,0,0,1) 40ms, transform 260ms cubic-bezier(0.2,0,0,1) 40ms;
}
.tmd-card:hover .tmd-fact { opacity: 1; transform: translateY(0); }
