/* Meet Our Team: page-specific styles (prefix mt-) */

main {
  --mt-font: "Archivo", var(--font);
  --mt-grey: #6a6b6c;
  --mt-link: #2868cd;
  --mt-dark: #0c1115;
  font-family: var(--mt-font);
}

.mt-inner { max-width: 1200px; margin: 0 auto; }

/* ---------- Hero ---------- */
.mt-hero { min-height: 100vh; padding: 60px 40px 68px; display: flex; align-items: flex-end; }
.mt-hero-grid { width: 100%; display: grid; grid-template-columns: 50.5fr 49.5fr; gap: 30px; align-items: center; }
.mt-hero h1 { font-size: 56px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.2; color: #040739; padding-bottom: 30px; }
.mt-hero-sub { font-size: 32px; line-height: 1.2; color: rgba(35, 114, 175, .85); padding-bottom: 30px; }
.mt-hero-text { font-size: 16px; line-height: 1.4; color: var(--mt-grey); text-align: justify; max-width: 475px; padding-bottom: 46px; }
.mt-hero-text strong { font-weight: 700; }
.mt-explore { display: inline-flex; align-items: center; gap: 15px; padding: 12px 12px 12px 22px; border: 3px solid var(--mt-dark); color: var(--mt-dark); font-size: 15px; font-weight: 700; letter-spacing: 1px; transition: background .2s, color .2s; }
.mt-explore i { display: grid; place-items: center; width: 36px; height: 36px; background: var(--blue); transition: border-radius .2s; }
.mt-explore svg { width: 16px; height: 16px; fill: var(--mt-dark); }
.mt-explore:hover { background: var(--mt-dark); color: var(--white); }
.mt-explore:hover i { border-radius: 50%; }
.mt-hero-photo { position: relative; width: 500px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: var(--blue) url("../assets/img/team-meeting.webp") center / cover no-repeat; }
.mt-hero-photo::before { content: ""; position: absolute; right: 3px; bottom: 111px; width: 70px; height: 50px; border-top: 1px dashed #141414; border-right: 1px dashed #141414; border-top-right-radius: 5px; }
.mt-hero-photo::after { content: ""; position: absolute; right: -23px; bottom: 86px; width: 50px; height: 29px; border: 1px solid #141414; border-radius: 20px 20px 0 0; background: var(--white); }

/* ---------- Founder ---------- */
.mt-founder { padding: 50px 40px 0; }
.mt-founder-grid { display: grid; grid-template-columns: 46.9fr 53.1fr; }
.mt-founder-photo { overflow: hidden; align-self: end; }
.mt-founder-photo img { width: 197%; max-width: none; height: auto; margin-left: -49.6%; }
.mt-founder-bio { padding: 0 50px; }
.mt-founder-bio h2 { font-size: 30px; font-weight: 900; line-height: 1.2; color: var(--blue); padding-bottom: 14px; }
.mt-roles { margin-bottom: 10px; }
.mt-roles li { display: flex; align-items: baseline; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--mt-link); }
.mt-roles svg { flex: 0 0 15px; width: 15px; height: 15px; fill: var(--mt-link); position: relative; top: 2px; }
.mt-founder-bio p, .mt-member-text p { font-size: 18px; line-height: 1.4; color: var(--mt-grey); text-align: justify; padding-bottom: 30px; }
.mt-founder-bio strong, .mt-member-text strong { font-weight: 700; }

/* ---------- Team members ---------- */
.mt-team { background: #f8f8f8; padding: 100px 40px 40px; scroll-margin-top: 72px; }
.mt-members { max-width: 1020px; margin: 0 auto; }
.mt-member { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-bottom: 100px; }
.mt-member-bio { padding: 0 30px; }
.mt-member-photo { margin: 0; }
.mt-member-flip .mt-member-bio { order: 2; }
.mt-member-bio h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--blue); text-align: center; padding: 10px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.mt-member-bio .mt-roles { padding: 20px 10px 0 18px; margin-bottom: 8px; }
.mt-member-text { padding: 0 10px 43px; border-bottom: 1px solid #eee; }
.mt-member-photo { text-align: center; }
.mt-member-photo img { width: 100%; height: auto; margin: 0 auto; }
.mt-photo-lg img { max-width: 490px; }
.mt-photo-sm img { max-width: 430px; }
.mt-member-photo figcaption { position: relative; width: 250px; max-width: 100%; margin: -26px auto 0; padding: 20px 10px; background: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 3px; line-height: 1.6; text-transform: uppercase; color: var(--mt-grey); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mt-hero h1 { font-size: 44px; }
  .mt-founder-bio { padding: 0 0 0 30px; }
}
@media (max-width: 820px) {
  .mt-hero { min-height: 0; padding: 48px 20px 56px; }
  .mt-hero-grid, .mt-founder-grid, .mt-member { grid-template-columns: 1fr; }
  .mt-hero-grid { gap: 40px; }
  .mt-hero h1 { font-size: 34px; padding-bottom: 20px; }
  .mt-hero-sub { font-size: 24px; padding-bottom: 20px; }
  .mt-hero-text { max-width: none; text-align: left; padding-bottom: 28px; }
  .mt-hero-photo { width: 300px; }
  .mt-hero-photo::before, .mt-hero-photo::after { display: none; }
  .mt-founder { padding: 40px 20px 0; }
  .mt-founder-photo { order: 2; max-width: 360px; width: 100%; margin: 0 auto; }
  .mt-founder-bio { padding: 0; }
  .mt-founder-bio p, .mt-member-text p { text-align: left; }
  .mt-team { padding: 56px 20px 8px; }
  .mt-member { margin-bottom: 56px; gap: 28px; }
  .mt-member-bio { padding: 0; }
  .mt-member-flip .mt-member-bio { order: 0; }
  .mt-member-photo img, .mt-photo-lg img, .mt-photo-sm img { max-width: 340px; }
}
