/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17.6px;
}

body {
  font-family: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.7;
  max-width: 1032px;
  margin: 0 auto;
  padding: 0 38px;
}

/* Header */
header {
  padding: 58px 0 67px;
  border-bottom: 1px solid #e0e0e0;
}

.site-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Sections shared */
section {
  padding: 77px 0;
  border-bottom: 1px solid #e0e0e0;
}

/* Bio section */
.bio-section {
  display: flex;
  gap: 67px;
  align-items: flex-start;
}

.bio-photo {
  flex: 0 0 231px;
}

.bio-photo img {
  width: 100%;
  display: block;
  filter: none;
}

.bio-text {
  flex: 1;
  font-size: 1rem;
  color: #1a1a1a;
}

.bio-text p + p {
  margin-top: 1.2em;
}

/* Articles section */
.articles-section h2 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 38px;
}

.article-list {
  list-style: none;
}

.article-list li {
  border-top: 1px solid #e0e0e0;
}

.article-list li:last-child {
  border-bottom: 1px solid #e0e0e0;
}

.article-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 29px;
  padding: 22px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.article-list a:hover {
  opacity: 0.5;
}

.article-title {
  font-size: 0.95rem;
}

.article-meta {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Footer */
footer {
  padding: 48px 0;
  font-size: 0.8rem;
  color: #999;
}

/* Responsive */
@media (max-width: 600px) {
  .bio-section {
    flex-direction: column;
    gap: 32px;
  }

  .bio-photo {
    flex: 0 0 auto;
    width: 160px;
  }

  .article-list a {
    flex-direction: column;
    gap: 4px;
  }
}
