@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=DM+Mono:wght@400;500&family=Instrument+Serif&display=swap');

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

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #333;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
  font-size: 16px;
}

header {
  margin-bottom: 30px;
}

header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

header h1 a {
  color: #333;
  text-decoration: none;
}

nav {
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

nav a {
  color: #4a7bb5;
  text-decoration: none;
  margin-right: 12px;
}

nav a:hover {
  text-decoration: underline;
}

nav a.active {
  color: #333;
  font-weight: 600;
}

main {
  margin-top: 30px;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-top: 30px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.hero {
  margin: 40px 0 48px;
}

.eyebrow {
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 18px;
}

.tagline {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 400;
  color: #222;
  letter-spacing: -0.01em;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0 40px;
}

.work-card {
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 20px;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.work-card:hover {
  border-color: #cfcfcf;
  background: #fff;
}

.work-card .meta-label {
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.work-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #222;
}

.work-card p {
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 10px;
  color: #444;
}

.work-card a {
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.writing-teaser {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 24px 0;
  margin: 40px 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 22px;
  line-height: 1.4;
  color: #333;
}

.connect {
  margin-top: 32px;
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.connect a {
  margin-right: 18px;
}

p {
  margin-bottom: 16px;
}

a {
  color: #4a7bb5;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 6px;
}

.book-great {
  background-color: #d4edda;
  padding: 2px 4px;
}

.book-good {
  background-color: #d6eaf8;
  padding: 2px 4px;
}

.photo-placeholder {
  width: 120px;
  height: 120px;
  background: #e0e0e0;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 12px;
  color: #999;
}

.elsewhere a {
  margin-right: 14px;
}

.section {
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
  .tagline {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 20px 16px;
  }
  nav a {
    margin-right: 8px;
    font-size: 12px;
  }
}
