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

:root {
  --text: #1a1a1a;
  --muted: #767676;
  --border: #e8e8e8;
  --max-width: 680px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.55;
}

/* ── Header ── */

header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px 0 40px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.name {
  font-size: 15px;
  font-weight: 500;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
  opacity: 1;
}

/* ── Main ── */

main {
  max-width: var(--max-width);
  margin: 0 auto;
}

section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

/* ── About ── */

#about p + p {
  margin-top: 12px;
}

/* ── Section headings ── */

h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

/* ── Entries ── */

.entry + .entry {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.entry-title {
  font-size: 14px;
  font-weight: 500;
}

.entry-meta {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.entry-degree {
  font-size: 13px;
  color: var(--muted);
}

ul {
  padding-left: 18px;
}

li {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

li + li {
  margin-top: 5px;
}

/* ── Footer ── */

footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 0 52px;
  font-size: 13px;
  color: var(--muted);
}

/* ── Mobile ── */

@media (max-width: 540px) {
  header {
    flex-direction: column;
    gap: 16px;
    padding: 36px 0 28px;
  }

  .entry-header {
    flex-direction: column;
    gap: 3px;
  }
}
