:root {
  --bg: #040000;
  --text: #ddd7e6;
  --muted: #8d859c;
  --accent: #e59ab0;
  --line: #2e2939;
  --font: "Special Elite", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
}

main {
  max-width: 34rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

header {
  margin-bottom: 3.5rem;
}

.portrait {
  display: block;
  width: 9rem;
  height: 9rem;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--line);
}

h1 {
  margin: 0;
  font-size: 3.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
}

.sub {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

section {
  margin-bottom: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--line);
}

p { margin: 0 0 0.4rem; }

.links {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover { color: var(--text); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.rant {
  color: var(--muted);
  font-style: italic;
}

section img {
display: block;
  width: 130%;
  height: auto;
  margin: 0 -15% 1.25rem;
  background: var(--line);
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

footer {
  padding: 1rem 1.25rem 3rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 480px) {
  h1 { font-size: 2.75rem; }
  body { font-size: 1rem; }
}