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

:root {
  --bg: #FFFFFF;
  --text: #000000;
  --accent: #000000;
  --border: #000000;
  --gray: #888888;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--border);
  z-index: 100;
  padding: 20px 0;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 0.6;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
}

.hero .skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.hero .skills span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero .divider {
  height: 2px;
  background: var(--border);
  margin-top: 60px;
}

.hero .intro {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
}

.section {
  padding: 0 0 80px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.project-card {
  margin-bottom: 64px;
}

.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.project-meta {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.project-description {
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
}

.project-description a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section:last-child {
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  nav ul {
    gap: 16px;
  }
  .hero {
    padding: 100px 0 60px;
  }
  .section {
    padding: 80px 0;
  }
  .hero .skills {
    grid-template-columns: 1fr;
  }
}

.hero.page{min-height:auto;padding:120px 0 80px;}


/* About-page spacing (ported from HTML version) */
.experience-item {
            margin-bottom: 40px;
        }
.experience-item h3 {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 8px;
        }
.experience-meta {
            font-size: 14px;
            color: var(--gray);
            margin-bottom: 16px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border);
        }
.experience-description {
            font-size: 16px;
            line-height: 1.7;
            max-width: 700px;
        }
.experience-description a {
            color: var(--text);
            text-decoration: underline;
            text-underline-offset: 3px;
        }
.certification {
            margin-top: 32px;
            padding: 32px 0;
            border-top: 1px solid var(--border);
        }
.certification h3 {
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 24px;
        }
.certification-item {
            margin-bottom: 24px;
            padding: 16px 0;
        }
.certification-item h4 {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
        }
.certification-item p {
            font-size: 15px;
            color: var(--gray);
            line-height: 1.6;
            margin-bottom: 8px;
        }
.contact-info {
            margin-top: 64px;
            padding: 40px 0;
            border-top: 2px solid var(--border);
        }
.contact-email {
            font-size: 24px;
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            color: var(--text);
            text-decoration: none;
            display: inline-block;
            margin-bottom: 12px;
        }
.contact-email:hover {
            opacity: 0.8;
        }
.contact-link {
            color: var(--text);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

.section p{max-width:700px;line-height:1.7;}
