/* Base tokens, reset, and the landing page.
   Quiet-editorial identity: warm paper ground, a serif reading face paired
   with a monospace for labels, hairline rules, one restrained accent.
   Loaded on every page; blog.css layers the blog on top. */

:root {
  --paper: #FBFAF6;   /* warm off-white ground */
  --ink: #211E17;     /* warm near-black text */
  --muted: #7C7669;   /* secondary text */
  --faint: #E6E2D6;   /* hairline rules & borders */
  --accent: #9A5B34;  /* warm sienna — links & hover */
  --label: #A08C5C;   /* muted gold — mono eyebrows/labels */

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  padding: 32px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1px;
}

/* ---- Landing: centered & sparse, dressed editorial ---- */
.home {
  text-align: center;
  max-width: 460px;
}

.home__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.home__role {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--label);
  margin-top: 20px;
}

.home__rule {
  width: 40px;
  height: 1px;
  border: 0;
  background: var(--faint);
  margin: 30px auto;
}

.home__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.home__links a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--faint);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.home__links a:hover,
.home__links a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.home__links .sep {
  color: #cfcabd;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
