:root {
  --bg: #ffffff;
  --surface: rgba(221, 203, 164, 0.22);
  --text: #231f20;
  --muted: #6e6259;
  --accent: #a50034;
  --accent-soft: rgba(165, 0, 52, 0.08);
  --border: rgba(110, 98, 89, 0.28);
  --sand: #ddcba4;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  padding: 2rem 0 2.25rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-bottom: 4px solid var(--accent);
}

.site-logo {
  display: block;
  max-width: min(100%, 520px);
  height: auto;
  margin-bottom: 1.25rem;
}

.site-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.site-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
}

main {
  flex: 1;
  padding: 2.5rem 0 3rem;
}

.intro {
  margin-bottom: 2.5rem;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.members {
  margin-bottom: 2.5rem;
}

.members h2,
.courses h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 1rem;
  color: var(--text);
}

.member-group {
  margin-bottom: 1.25rem;
}

.member-group h3 {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.member-list li {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
}

.member-list a,
.member-name {
  display: block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.member-list a:hover {
  text-decoration: underline;
}

.member-list span:last-child {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.courses {
  margin-bottom: 2rem;
}

.repo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.repo-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.repo-list a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  flex: 1;
}

.repo-list a:hover {
  text-decoration: underline;
}

.footer-org {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-org p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-org a {
  color: var(--accent);
  text-decoration: none;
}

.footer-org a:hover {
  text-decoration: underline;
}

.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

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

@media (max-width: 480px) {
  .repo-list li {
    flex-wrap: wrap;
  }
}
