:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #5a5a5a;
  --border: #e4e4e4;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 17px;
  line-height: 1.6;
}

.page {
  max-width: 700px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 3rem;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: var(--text);
}

header h1 {
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0;
}

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

header .tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.4rem 0 0;
}

header nav {
  margin-top: 1.1rem;
}

header nav a {
  margin-right: 1.2rem;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

header nav a:hover {
  border-bottom-color: var(--text);
}

section {
  margin-top: 2.6rem;
}

section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

#about {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: stretch;
  gap: 1.2rem;
}

.portrait-wrap {
  position: relative;
  width: 100%;
  min-height: 0;
}

.portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.about-text p {
  margin: 0 0 1rem;
}

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

.about-contact {
  margin-top: 1.5rem;
}

.about-contact p {
  font-size: 0.98rem;
  margin: 0;
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.entry-list li {
  margin-bottom: 1.1rem;
}

.entry-list a,
.entry-list .entry-title {
  display: block;
}

.entry-title {
  font-style: italic;
}

.entry-list .meta {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}

#contact p {
  font-size: 0.98rem;
}

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

@media (max-width: 480px) {
  #about {
    grid-template-columns: 1fr;
  }

  .portrait-wrap {
    width: 140px;
    height: 180px;
  }
}
