:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #2f3437;
  --muted: #636c71;
  --accent: #4d7083;
  --rule: #dfdfd8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; }
p, h1 { margin: 0; }
a { color: var(--ink); text-decoration-color: var(--rule); text-underline-offset: 5px; transition: color 140ms ease; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
.page { width: min(570px, calc(100% - 64px)); min-height: 100vh; min-height: 100svh; margin: 0 auto; display: flex; flex-direction: column; }
.introduction { padding: clamp(88px, 20vh, 190px) 0 90px; }
.focus, .links { font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(49px, 6vw, 72px); letter-spacing: -3.4px; line-height: 1.14; }
.period { color: var(--accent); }
.focus { color: var(--accent); font-size: 13px; line-height: 1.6; margin-top: 15px; }
.bio { max-width: 505px; font-size: 18px; line-height: 1.8; margin-top: 35px; color: var(--muted); }
.bio .lead { color: var(--ink); }
.bio p + p { margin-top: 18px; }
.bio.personal { margin-top: 24px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: 27px; font-size: 14px; line-height: 1.6; }
.links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap; }
p, .links { overflow-wrap: anywhere; }
@media screen and (min-width: 521px) and (max-height: 800px) {
  .introduction { padding: clamp(32px, 8svh, 64px) 0 40px; }
}
@media (max-width: 520px) {
  .page { width: calc(100% - 48px); }
  .introduction { padding: 83px 0 75px; }
  h1 { letter-spacing: -2.3px; }
  .bio { font-size: 17px; line-height: 1.8; margin-top: 29px; }
  .links { gap: 4px 20px; margin-top: 23px; }
}
@media (max-width: 420px) {
  .links { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  a { transition: none; }
}
@page { size: auto; margin: 22mm; }
@media print {
  :root { background: white; color: #111; --ink: #111; --muted: #444; --accent: #333; }
  .page { min-height: 0; width: 100%; max-width: 145mm; }
  .introduction { padding: 15mm 0; }
  h1 { font-size: 40pt; }
  .bio { max-width: none; font-size: 12pt; }
  .links { font-size: 10pt; }
  .links a { min-height: 0; }
}
