:root {
  --bg: #ffffff;
  --fg: #1f1c17;
  --muted: #6b6459;
  --accent: #346598;
  --accent-fg: #fdfcf9;
  --border: #e5e0d6;
  --header-bg: #e8e8e8;
  --top-bg: #f5f5f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Cantarell", sans-serif;
  line-height: 1.5;
}

.wrap {
  max-width: 55rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.logo {
  font-family: "Lora", serif;
  font-weight: bold;
  font-size: 1.1rem;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--accent);
}

.top {
  background: var(--top-bg);
  padding: 6rem 0;
  text-align: center;
}

.top h1 {
  font-family: "Lora", serif;
  font-size: 2.4rem;
  margin: 0 0 0.75rem;
}

.tagline {
  color: var(--muted);
  font-size: 1.2rem;
  margin: 0 0 2rem;
}

.project {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.project-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 45rem;
}

.project-logo {
  width: 7.5rem;
  height: 7.5rem;
  flex-shrink: 0;
  margin-top: 2.9rem;
}

.project-text h2 {
  font-family: "Lora", serif;
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.project-text h2 a {
  color: var(--accent);
  text-decoration: none;
}

.project-text h2 a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.project-text p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.project-text p:last-child {
  margin-bottom: 0;
}

.project-links {
  display: flex;
  gap: 1.5rem;
}

.project-links a {
  color: var(--accent);
  text-decoration: none;
}

.project-links a:hover {
  text-decoration: underline;
}

@media (max-width: 37.5rem) {
  .project-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .project-logo {
    margin-top: 0;
  }

  .project-links {
    justify-content: center;
  }
}

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .wrap {
  padding: 1.25rem 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
