:root {
  --ink: #151515;
  --paper: #f7f7f5;
  --line: #d8d8d4;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(100% - 32px, 420px);
  padding: 48px 0;
  text-align: center;
}

.portrait {
  display: block;
  width: 144px;
  height: 144px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

h1 {
  margin: 20px 0 32px;
  font-size: 1.65rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

nav {
  display: grid;
  gap: 12px;
}

a {
  display: grid;
  grid-template-columns: 26px 1fr 26px;
  align-items: center;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

a:hover,
a:focus-visible {
  transform: translateY(-2px);
  border-color: #ababaa;
  background: #fff;
  outline: none;
}

svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg .fill,
svg.solid { fill: currentColor; stroke: none; }

.arrow {
  color: #777;
  font-size: 1.05rem;
  text-align: right;
}

@media (max-width: 480px) {
  main { padding: 32px 0; }
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
