@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=Inter:wght@400;500&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #fafaf8;
  line-height: 1.6;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #e8e8e4;
  max-width: 860px;
  margin: 0 auto;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 400;
  color: #1a2f4a;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 14px;
  color: #888;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: #1a2f4a;
}

.hero {
  padding: 5rem 2rem 3.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.tag {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
}

h1 span {
  color: #1e4d8c;
  font-style: italic;
}

.sub {
  font-size: 15px;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border: 1px solid #1a2f4a;
  border-radius: 4px;
  font-size: 13px;
  color: #1a2f4a;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.btn:hover {
  background: #1a2f4a;
  color: #fff;
}

section {
  padding: 3rem 2rem;
  border-top: 1px solid #e8e8e4;
  max-width: 640px;
  margin: 0 auto;
}

.label {
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.about-text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.skills-grid span {
  font-size: 12px;
  padding: 5px 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #666;
  background: #fff;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
  cursor: default;
}

.skills-grid span:hover {
  background: #1a2f4a;
  border-color: #1a2f4a;
  color: #fff;
}

#contact p {
  font-size: 15px;
  color: #666;
  margin-bottom: 0.5rem;
}

#contact a {
  color: #1a2f4a;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}