/* Minimal personal landing page ------------------------------------------------
   A single, self-contained stylesheet. One warm off-white page (approximately
   Farrow & Ball Tallow No. 203) with dark gray serif type. Edit the custom
   properties below to re-theme the whole site. */

:root {
  --bg: #e8dec5;
  --fg: #2b2a28;
  --faint: #a8a39a;
  --max: 52rem;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.verse {
  margin: 0;
  text-align: center;
}

.verse p {
  margin: 0;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.005em;
}

/* Each half of the verse gets its own line; on narrow screens a half may wrap. */
.verse span {
  display: block;
  text-wrap: balance;
}

.footer {
  padding: 0 1.5rem 2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer a {
  color: var(--faint);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover,
.footer a:focus { color: var(--fg); }

/* Generic content (used by 404 and any future pages) */
.content { text-align: center; }
.content h1, .content h2 { font-weight: 500; letter-spacing: -0.01em; }
.content a { color: var(--fg); text-underline-offset: 2px; }

:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
