:root {
  --bg: #ffffff;
  --bg-section: #f5f5f0;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e0e0e0;
}

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

html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Georgia", "Times New Roman", Times, serif;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem;
  flex: 1;
}

/* ── Hero ── */

.hero {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

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

.logo {
  width: 250px;
  height: auto;
  display: block;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin-bottom: 3.5rem;
}

/* ── Info row ── */

.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.info-label {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
}

.info-pill {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: border-color 0.2s;
}

a.info-pill:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ── Content section ── */

.content-section {
  background: var(--bg-section);
  border-radius: 12px;
  padding: 3.5rem 2.5rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.content-section p {
  font-size: 1.15rem;
  line-height: 1.85;
  text-align: justify;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 1.8rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section p.content-cta-wrap {
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.content-cta {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--text);
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.content-cta:hover {
  background: var(--text);
  color: var(--bg);
}

/* ── Footer ── */

.footer {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.footer a:hover {
  border-bottom-color: var(--text);
  color: var(--text);
}

.copyright {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
}

/* ── Back link ── */

.back-link {
  padding-top: 2rem;
}

.back-link a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: color 0.2s;
}

.back-link a:hover {
  color: var(--text);
}

/* ── Education intro ── */

.edu-intro {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  text-align: center;
}

.edu-intro h1 {
  margin-bottom: 1.5rem;
}

.edu-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.5rem;
}

.edu-intro p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto;
  text-align: justify;
}

/* ── Education sections ── */

.edu-section {
  margin-bottom: 3rem;
}

.edu-section h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.edu-card {
  position: relative;
  background: var(--bg-section);
  border-radius: 12px;
  padding: 2rem 2rem 2.5rem;
  margin-bottom: 1.5rem;
}

.edu-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.edu-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.edu-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.edu-school {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.edu-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #ffffff;
  background: var(--muted);
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.edu-field {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.edu-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.edu-date {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.edu-degree {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* ── Contributors ── */

.contributors-section {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.contributors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.contributor-card {
  padding: 1.2rem 1rem;
  text-align: center;
}

.contributor-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 0.75rem;
}

.contributor-name {
  font-size: 1rem;
  line-height: 1.4;
}

/* ── Manifesto ── */

.manifesto-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.manifesto-section h1 {
  margin-bottom: 2rem;
}

.manifesto-section h2 {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  margin-top: 2.8rem;
  margin-bottom: 1.5rem;
}

.manifesto-list {
  margin: 0 auto 1.8rem;
  max-width: 680px;
  padding-left: 1.4rem;
}

.manifesto-list li {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text);
}

.manifesto-author {
  text-align: right;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  .hero {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .logo-block {
    margin-bottom: 2rem;
  }

  .logo {
    width: 70px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  h1 {
    margin-bottom: 2.5rem;
  }

  .info-row {
    gap: 1.5rem;
  }

  .content-section {
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
  }

  .edu-card {
    padding: 1.5rem 1.2rem 2rem;
    border-radius: 8px;
  }

  .edu-logo {
    width: 40px;
    height: 40px;
  }

  .edu-header h3 {
    font-size: 1.05rem;
  }

  .edu-intro p {
    font-size: 1rem;
  }

  .contributors-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .footer {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .contributors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
