* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #F3F6F5;
  background: #0C1C1A;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  padding: 4rem 1.5rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.2rem;
}

.logo .ecg {
  width: 120px;
  height: 24px;
}

.logo-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #00A896;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.logo-circle strong {
  color: #00A896;
  font-weight: 700;
}

header h1 {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #FFFFFF;
}

header h1 span {
  font-weight: 700;
  color: #00A896;
}

.tagline {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: #a0b5b2;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.tagline strong {
  color: #00A896;
}

main {
  flex: 1;
  padding: 1rem 1.5rem 3rem;
}

.team h2 {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00A896;
  margin-bottom: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
  max-width: 560px;
  margin: 0 auto;
}

.card {
  text-align: center;
}

.card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid #162E2B;
  transition: border-color 0.2s, transform 0.2s;
}

.card img:hover {
  border-color: #00A896;
  transform: scale(1.04);
}

.card h3 {
  margin-top: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
}

.card p {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: #a0b5b2;
}

footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid #162E2B;
  color: #a0b5b2;
  font-size: 0.9rem;
}

.fellowship {
  font-weight: 600;
  color: #00A896;
  margin-bottom: 0.3rem;
}

footer address {
  font-style: normal;
  margin-bottom: 0.75rem;
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.2rem;
}

footer a {
  color: #00A896;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #FFFFFF;
}

@media (max-width: 500px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  header {
    padding: 3rem 1.5rem 1.5rem;
  }

  header h1 {
    font-size: 2rem;
  }

  .logo .ecg {
    width: 80px;
  }
}
