@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&family=PT+Mono&display=swap');

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

:root {
  --bg: #f2ede4;
  --ink: #1a1a18;
  --ink-muted: #4a4a44;
  --ink-faint: #8a8a80;
  --accent: #1a1a18;
  --max-width: 480px;
  --page-pad: 1.75rem;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'PT Serif', Georgia, serif;
  font-weight: 300;
  line-height: 1.65;
  min-height: 100vh;
  padding: 3rem var(--page-pad) 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  margin-bottom: 2.5rem;
}

.site-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.site-title strong {
  font-family: 'PT Mono', monospace;
  font-weight: 700;
}

.site-description {
  font-size: 0.975rem;
  color: var(--ink);
  line-height: 1.75;
}

.site-presentation {
  margin-top: 1.25rem;
  font-size: 0.975rem;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--ink-faint);
  margin: 2.25rem 0;
  opacity: 0.35;
}

/* ── Section headings ── */
.section-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

/* ── Project images ── */
.project-image-link {
  display: block;
  margin-bottom: 0.75rem;
}

.project-image {
  width: 100%;
  display: block;
  border: 1px solid rgba(26, 26, 24, 0.12);
}

.project-image-link:hover .project-image {
  opacity: 0.85;
}

/* ── Projects ── */
.projects {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-title {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  letter-spacing: 0.01em;
}

.project-title a {
  color: inherit;
  text-decoration: inherit;
}

.project-title a:hover {
  opacity: 0.65;
}

.project-collaborators {
  font-size: 0.9rem;
  color: var(--ink);
}

.project-status {
  font-size: 0.85rem;
  font-family: 'PT Mono', monospace;
  color: var(--ink-muted);
}

.project-tags {
  margin-top: 0.35rem;
}

.project-tags .label {
  font-size: 0.72rem;
  font-weight: 500;
  font-family: 'PT Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.1rem;
  color: var(--ink-muted);
}

.project-tags .tags {
  font-size: 0.78rem;
  font-family: 'PT Mono', monospace;
  color: var(--ink-faint);
}

/* ── Bicycle illustration ── */
.illustration {
  display: block;
  width: 60px;
  height: auto;
  margin: 0 auto 0.6rem;
  opacity: 0.6;
}

/* ── Footer ── */
.site-footer {
  margin-top: 3rem;
  font-size: 0.78rem;
  font-family: 'PT Mono', monospace;
  color: var(--ink-faint);
  text-align: center;
}

/* ── Responsive ── */
@media (min-width: 600px) {
  body {
    padding-top: 4rem;
  }

  .site-title {
    font-size: 2.4rem;
  }
}
