/* Baseline styles — deliberately restrained. Typography and color to be
   refined later; the bones are: narrow measure, generous whitespace. */

:root {
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --link: #1a5cd6;
  --bg: #ffffff;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  max-width: 40rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
}

/* Header ------------------------------------------------------------ */

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 5rem;
  font-family: var(--mono);
  font-size: 0.875rem;
}

.site-name {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 1.5rem;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
}

/* Landing page ------------------------------------------------------ */

.portrait {
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2.5rem;
}

/* Footer ------------------------------------------------------------ */

.site-footer {
  margin-top: 6rem;
  font-family: var(--mono);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--muted);
}

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