:root {
  --bg: #17181C;
  --ink: #EAE9E5;
  --muted: #9A9CA3;
  --accent: #8FB4E3;
  --rule: #2C2E34;
  --thumb-border: #33353C;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px 24px 64px;
}

.hero h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 2.25rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tagline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 18px;
}

.links {
  display: flex;
  gap: 18px;
}

.links a {
  font-size: 0.9rem;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.intro {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  align-items: flex-start;
}

.headshot {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--rule);
}

.bio p {
  margin: 0 0 14px;
}

.bio p:last-child {
  margin-bottom: 0;
}

.bio em {
  font-style: italic;
  color: var(--ink);
}

.block {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.block h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 20px;
  color: var(--ink);
}

.now-list {
  margin: 0;
  padding-left: 20px;
}

.now-list li {
  margin-bottom: 10px;
}

.now-list li:last-child {
  margin-bottom: 0;
}

.now-list em {
  font-style: italic;
}

.project {
  margin-bottom: 28px;
}

.project:last-child {
  margin-bottom: 0;
}

.project h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}

.project .meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.project p:not(.meta) {
  margin: 0;
  color: var(--ink);
}

.earlier-intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin: -8px 0 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.thumb {
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  border-radius: 4px;
  overflow: hidden;
}

.thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--thumb-border);
  border-radius: 4px;
  display: block;
  opacity: 0.9;
}

.thumb span {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.35;
}

.thumb span em {
  font-style: normal;
  color: var(--muted);
}

.thumb:hover img {
  border-color: var(--accent);
  opacity: 1;
}

.thumb:hover span {
  color: var(--accent);
}

footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin: 0;
}

@media (max-width: 560px) {
  .page {
    padding: 48px 20px 48px;
  }

  .intro {
    flex-direction: column;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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