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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #000;
}

h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

/* Navigation */
nav {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav-links a {
    font-size: 0.95rem;
}

nav .social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

nav .social-icons a {
    display: inline-flex;
    align-items: center;
}

nav .social-icons svg {
    width: 20px;
    height: 20px;
}

/* Header */
header {
    margin-bottom: 3rem;
}

header h1 {
    margin-bottom: 0;
}

header nav {
    margin-bottom: 1.5rem;
}

/* Homepage specific */
.section {
    margin-bottom: 2rem;
}

/* Writing page */

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.links div {
    display: flex;
    justify-content: space-between;
}

/* Experience page */
.job {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.job:last-child {
    border-bottom: none;
}

.job h2 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.company {
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.period {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

ol, ul {
    margin-bottom: 1.5rem;
    margin-left: 1.2rem;
    color: #555;
}

li {
    margin-bottom: 0.5rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.profile-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #ddd;
}

.profile-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-header h2 {
  margin: 0;
  font-size: 2em;
}

figure {
    margin: 2rem 0;
}

figure img {
    width: 100%;
    display: block;
}

figcaption {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.key-moment {
    font-size: 1.15em;
    font-weight: 500;
    color: #2c3e50;
    letter-spacing: 0.3px;
}
