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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Header */

header {
  margin-bottom: 48px;
  text-align: center;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

.blog-nav {
  font-size: 16px;
  color: #2c3e50;
  border: none;
  font-weight: 400;
}

.blog-nav:hover {
  opacity: 0.7;
}

.subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 0;
}

.subtitle a {
  color: #2c3e50;
  text-decoration: none;
  border-bottom: 1px solid #2c3e50;
}

.subtitle a:hover {
  border-bottom-color: #666;
}

/* Sections */

section {
  margin-bottom: 48px;
}

h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 24px;
}

p {
  margin-bottom: 16px;
}

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

strong {
  font-weight: 500;
  color: #1a1a1a;
}

a {
  color: #2c3e50;
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 62, 80, 0.3);
  transition: border-color 0.2s;
}

a:hover {
  border-bottom-color: #2c3e50;
}

/* Projects */

.project {
  margin-bottom: 32px;
}

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

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.year {
  font-size: 14px;
  color: #999;
  font-weight: 400;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: 16px;
  border-radius: 4px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Footer */

footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #e0e0e0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.contact-info div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  font-weight: 600;
}

.contact-info a {
  margin-right: 12px;
  border: none;
}

.contact-info a:hover {
  opacity: 0.7;
}

.closing {
  color: #555;
  font-size: 16px;
  font-style: normal;
}

/* Responsive */

@media (max-width: 640px) {
  main {
    padding: 40px 20px;
  }

  h1 {
    font-size: 28px;
  }

  .blog-nav {
    font-size: 14px;
  }

  .subtitle {
    font-size: 16px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
