/* Steven Jones — sjones.bio */

:root {
  --text: #1a1a1a;
  --bg: #fafafa;
  --muted: #555;
  --rule: #e0e0e0;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem;
}

/* ── Header ── */

header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}

.mark {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  color: var(--text);
  user-select: none;
}

h1 {
  font-size: 1.75rem;
  font-weight: normal;
  margin: 0 0 0.25rem;
  letter-spacing: 0.01em;
}

.role {
  margin: 0;
  color: var(--muted);
  font-style: italic;
}

/* ── Sections ── */

h2 {
  font-size: 1rem;
  font-weight: normal;
  font-style: italic;
  color: var(--muted);
  margin: 2.5rem 0 0.75rem;
}

section {
  margin-bottom: 1.5rem;
}

p {
  margin: 0 0 1rem;
}

/* ── Work listings ── */

.work-item {
  margin-bottom: 1.25rem;
}

.work-title {
  margin: 0;
  line-height: 1.4;
}

.work-detail {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-style: italic;
}

/* ── Links ── */

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

a:hover {
  color: var(--muted);
}

.arrow {
  font-style: normal;
  color: var(--muted);
  font-size: 0.875rem;
  margin-right: 0.15rem;
}

/* ── Elsewhere ── */

.elsewhere-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.elsewhere-list li {
  margin-bottom: 0.5rem;
}

.elsewhere-label {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ── Footer ── */

footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── Mobile ── */

@media (max-width: 480px) {
  html { font-size: 17px; }
  main { padding: 2.5rem 1.25rem 4rem; }
  .mark { font-size: 2.25rem; }
}
