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

:root {
  --text: #111111;
  --background: #f8f8f8;
}

body {
  text-align: center;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);

  font-family: "Inter", sans-serif;

  display: flex;
  flex-direction: column;

  padding: 8rem 2rem 4rem;
}

header {
  text-align: center;
  margin-bottom: 5rem;
}

h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
}

header p {
  margin-top: 0.75rem;

  font-size: 1rem;
  font-weight: 400;

  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

main {
  width: 100%;
  max-width: 900px;

  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

section h2 {
  font-size: 1.1rem;
  font-weight: 600;

  margin-bottom: 1.25rem;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

a {
  color: inherit;
  text-decoration: none;

  font-weight: 400;

  transition: opacity 0.2s ease;
}

nav a,
.socials a {
  font-size: 0.95rem;
  font-weight: 400;
}

a:hover {
  opacity: 0.5;
}

footer {
  margin-top: auto;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;

  padding-top: 6rem;
}

footer p {
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  body {
    padding: 3rem 1.5rem;
  }

  header {
    margin-bottom: 5rem;
  }

  main {
    grid-template-columns: 1fr;
    gap: 3rem;

    text-align: center;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .members-grid {
    grid-template-columns: 1fr;
  }
}

.page-header {
  width: 100%;
  max-width: 700px;

  margin: 0 auto 4rem;

  text-align: left;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;

  font-size: 0.9rem;
  opacity: 0.6;
}

.page-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;

  margin-bottom: 0.5rem;
}

.page-header p {
  margin-top: 0.5rem;

  margin-left: 0;
  margin-right: 0;

  max-width: none;

  text-align: left;
}

.page-content {
  width: 100%;
  max-width: 700px;

  margin: 0 auto;

  display: block;   /* important */
  text-align: left;
}

.page-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.page-content ul {
  margin-top: 1rem;
  padding-left: 1.25rem; /* controls bullet indentation */
}

.page-content li {
  margin-bottom: 0.35rem; /* spacing between items */
  line-height: 1.4;
}
.table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 2rem;
}

.table-container iframe {
  width: 100%;
  height: 200px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
}


.members-section {
  margin-top: 3rem;
}

.members-section h3 {
  margin-bottom: 1.5rem;

  font-size: 1.3rem;
  font-weight: 600;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.member-card {
  display: flex;
  align-items: center;
  gap: 1rem;

  padding: 0.875rem 1rem;

  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.member-photo {
  width: 72px;
  height: 72px;

  object-fit: cover;
  border-radius: 50%;

  flex-shrink: 0;
}

.member-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;

  min-width: 0;
}

.member-info h4 {
  margin: 0;

  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.member-info .affiliation,
.member-info .role {
  margin: 0;
  gap: 0.6rem;
  line-height: 1.3;
}

.member-info .affiliation {
  font-size: 0.9rem;
  color: #666;
}

.member-info .role {
  font-size: 0.95rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}