:root {
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #1f3a5f;
  --bg: #fdfcf9;
  --rule: #e8e4dc;
  font-size: 17px;
}

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

html, body { background: var(--bg); color: var(--ink); }

body {
  font-family: "Inter", "Open Sans", -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
}

main {
  width: 100%;
  max-width: 560px;
}

.hero { margin-bottom: 2.4rem; }

h1 {
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 3.4rem);
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.tagline {
  color: var(--ink);
  font-size: 1.05rem;
}

.loc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

nav ul { list-style: none; }

nav li {
  border-top: 1px solid var(--rule);
  padding: 0.85rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

nav li:last-child { border-bottom: 1px solid var(--rule); }

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}

nav a:hover,
nav a:focus {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.muted { color: var(--muted); font-size: 0.88rem; }

footer {
  margin-top: 3rem;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ececec;
    --muted: #a0a0a0;
    --accent: #9ab8de;
    --bg: #14171c;
    --rule: #2a2f37;
  }
}
