/* ═══════════════════════════════════════════════════════
   MultiMet Team & Shareholders v2 — Frontend Styles
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --mmt-orange:   #E8641A;
  --mmt-dark:     #111111;
  --mmt-charcoal: #1C1C1C;
  --mmt-steel:    #272727;
  --mmt-mid:      #666;
  --mmt-muted:    #999;
  --mmt-light:    #F6F4F0;
  --mmt-white:    #FFFFFF;
  --mmt-head:     'Barlow Condensed', sans-serif;
  --mmt-body:     'Barlow', sans-serif;
  --mmt-radius:   3px;
}

/* ─── OUR TEAM ──────────────────────────────────────────── */
.mmt-our-team {
  font-family: var(--mmt-body);
  background: var(--mmt-light);
  padding: 56px 0 72px;
}

.mmt-team-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 3px;
}

/* Card */
.mmt-team-card {
  background: var(--mmt-white);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform .28s ease, box-shadow .28s ease;
}
.mmt-team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0,0,0,.13);
  z-index: 2;
}

/* Photo */
.mmt-card-photo {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: var(--mmt-steel);
}
.mmt-card-photo img {
  width: 100%; height: 100%!important;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .45s ease;
}
.mmt-team-card:hover .mmt-card-photo img { transform: scale(1.04); }

.mmt-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #2a2a2a 0%, #3c3c3c 100%);
}
.mmt-photo-placeholder span {
  font-family: var(--mmt-head);
  font-size: 60px; font-weight: 800;
  color: rgba(255,255,255,.09);
  letter-spacing: -2px;
}

.mmt-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

/* Body */
.mmt-card-body {
  padding: 24px 26px 28px;
  border: 1px solid rgba(0,0,0,.07);
  border-top: 2px solid var(--mmt-orange);
}
.mmt-card-role {
  font-family: var(--mmt-head);
     font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
  color: var(--mmt-orange);
  margin-bottom: 7px;
}
.mmt-card-name {
  font-family: var(--mmt-head);
  font-size: 22px; font-weight: 700;
  color: var(--mmt-dark);
  margin: 0 0 14px; line-height: 1.1;
  letter-spacing: -.2px;
}
.mmt-card-bio {
  font-size: 13px; line-height: 1.7;
  color: #777; font-weight: 300; margin: 0 0 16px;
}

/* Read More button */
.mmt-read-more {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: 1px solid var(--mmt-orange);
  color: var(--mmt-orange);
  font-family: var(--mmt-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--mmt-radius);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.mmt-read-more:hover {
  background: var(--mmt-orange);
  color: var(--mmt-white);
}
.mmt-read-more::after { content: '→'; }

.mmt-read-more-sm {
  font-size: 10px; padding: 5px 10px;
  margin-top: 8px;
}

/* ─── SHAREHOLDERS ──────────────────────────────────────── */
.mmt-shareholders {
  font-family: var(--mmt-body);
  background: var(--mmt-dark);
  color: var(--mmt-white);
  padding: 56px 0 72px;
}

.mmt-sh-block {
  max-width: 1180px;
  margin: 0 auto 60px;
  padding: 0 20px;
  position: relative;
}
.mmt-sh-block::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--mmt-orange) 0%, rgba(255,255,255,.06) 70%);
  margin-bottom: 44px;
}

/* Header row */
.mmt-sh-header {
  display: flex; align-items: flex-start; gap: 20px;
  margin-bottom: 20px;
}
.mmt-sh-number {
  font-family: var(--mmt-head);
  font-size: 80px; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.05);
  letter-spacing: -4px; flex-shrink: 0;
  margin-top: -10px; user-select: none;
  min-width: 76px;
}
.mmt-sh-identity { flex: 1; }
.mmt-sh-logo {
  max-height: 38px; max-width: 150px;
  object-fit: contain; margin-bottom: 10px;
   
}
.mmt-sh-name {
  font-family: var(--mmt-head);
  font-size: clamp(22px,3.2vw,34px); font-weight: 700;
  color: var(--mmt-white);
  margin: 0 0 8px; line-height: 1.1; letter-spacing: -.4px;
}
.mmt-sh-name a {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid rgba(232,100,26,.35);
  transition: color .2s, border-color .2s;
}
.mmt-sh-name a:hover { color: var(--mmt-orange); border-color: var(--mmt-orange); }
.mmt-sh-reg {
  font-size: 12px; color: rgba(255,255,255,.38); letter-spacing: .1px;
}
.mmt-sh-reg a { color: var(--mmt-orange); text-decoration: none; opacity: .85; }
.mmt-sh-reg a:hover { opacity: 1; }

/* Description */
.mmt-sh-desc {
  font-size: 14.5px; line-height: 1.78;
  color: rgba(255,255,255,.50); font-weight: 300;
  max-width: 800px; padding-left: 96px; margin-bottom: 36px;
}
.mmt-sh-desc p { margin: 0 0 12px; }
.mmt-sh-desc p:last-child { margin: 0; }

/* Committees grid */
.mmt-sh-committees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-left: 96px;
  margin-bottom: 0;
}
.mmt-sh-committee {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--mmt-radius);
  padding: 26px;
}
.mmt-committee-title {
  font-family: var(--mmt-head);
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--mmt-orange);
  margin: 0 0 22px;
  display: flex; align-items: center; gap: 8px;
}
.mmt-ct-icon { font-size: 9px; opacity: .65; }

/* Member items */
.mmt-members-list { display: flex; flex-direction: column; gap: 18px; }
.mmt-member-item  { display: flex; gap: 12px; align-items: flex-start; }

.mmt-member-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mmt-orange), #b84d0d);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mmt-member-avatar span {
  font-family: var(--mmt-head);
  font-size: 12px; font-weight: 800;
  color: var(--mmt-white); letter-spacing: -.5px;
}
.mmt-member-info { flex: 1; min-width: 0; }
.mmt-member-name {
  font-size: 13.5px; font-weight: 600;
  color: var(--mmt-white); margin-bottom: 3px; line-height: 1.2;
}
.mmt-member-role {
  font-size: 10.5px; font-weight: 500;
  color: var(--mmt-orange); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 4px;
}
.mmt-member-bio {
  font-size: 12px; line-height: 1.65;
  color: rgba(255,255,255,.35); font-weight: 300;
}

/* Key person */
.mmt-sh-keyperson { padding-left: 96px; margin-top: 28px; }
.mmt-kp-label {
  font-family: var(--mmt-head);
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--mmt-orange); margin-bottom: 14px;
}
.mmt-kp-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--mmt-radius);
  padding: 22px; max-width: 720px;
}
.mmt-kp-avatar { width: 46px !important; height: 46px !important; }
.mmt-kp-avatar span { font-size: 15px !important; }

/* ─── MODAL ─────────────────────────────────────────────── */
.mmt-modal-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.78);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  padding: 20px;
}
.mmt-modal-overlay.is-open {
  opacity: 1; pointer-events: all;
}
.mmt-modal {
  background: #181818;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  width: 100%; max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(28px) scale(.97);
  transition: transform .32s cubic-bezier(.25,.8,.25,1);
}
.mmt-modal-overlay.is-open .mmt-modal {
  transform: translateY(0) scale(1);
}

.mmt-modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none;
  font-size: 26px; line-height: 1;
  color: rgba(255,255,255,.4);
  cursor: pointer; transition: color .2s;
  z-index: 2;
}
.mmt-modal-close:hover { color: var(--mmt-orange); }

.mmt-modal-inner {
  display: flex; flex-direction: column;
}
.mmt-modal-photo-wrap {
  width: 100%; height: 220px;
  overflow: hidden; background: var(--mmt-steel);
  border-radius: 6px 6px 0 0;
  flex-shrink: 0;
}
.mmt-modal-photo {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #232323, #333);
  font-family: var(--mmt-head);
  font-size: 80px; font-weight: 800;
  color: rgba(255,255,255,.07); letter-spacing: -4px;
}
.mmt-modal-photo img {
  height: 100%;
  object-fit: cover; object-position: top center;
}

.mmt-modal-content {
  padding: 32px 36px 36px;
}
.mmt-modal-role {
  font-family: var(--mmt-head);
  font-size: 10px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--mmt-orange); margin-bottom: 10px;
}
.mmt-modal-name {
  font-family: var(--mmt-head);
  font-size: 28px; font-weight: 800;
  color: var(--mmt-white);
  margin: 0 0 22px; letter-spacing: -.4px; line-height: 1.1;
}
.mmt-modal-bio {
  font-size: 14px; line-height: 1.8;
  color: rgba(255,255,255,.6); font-weight: 300;
}
.mmt-modal-bio p { margin: 0 0 14px; }
.mmt-modal-bio p:last-child { margin: 0; }

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 860px) {
  .mmt-sh-committees { grid-template-columns: 1fr; padding-left: 0; }
  .mmt-sh-desc       { padding-left: 0; }
  .mmt-sh-keyperson  { padding-left: 0; }
  .mmt-sh-number     { display: none; }
}
@media (max-width: 600px) {
  .mmt-team-grid { grid-template-columns: 1fr; }
  .mmt-modal-content { padding: 24px 20px 28px; }
  .mmt-modal-photo-wrap { height: 160px; }
}

/* ─── SCROLL ANIMATION ──────────────────────────────────── */
@keyframes mmtFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mmt-team-card,
.mmt-sh-block {
  animation: mmtFadeUp .55s ease both;
  animation-play-state: paused;
}
.mmt-anim { animation-play-state: running; }
.mmt-team-card:nth-child(2) { animation-delay: .08s; }
.mmt-team-card:nth-child(3) { animation-delay: .16s; }
.mmt-team-card:nth-child(4) { animation-delay: .24s; }
.mmt-sh-block:nth-child(2) { animation-delay: .1s; }
.mmt-sh-block:nth-child(3) { animation-delay: .2s; }

.mmt-sh-name a {
    color: inherit;
    color: #ff7618;
    text-decoration: none;
    border-bottom: 1px solid rgba(232, 100, 26, .35);
    transition: color .2s, border-color .2s;
}