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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #ffffff;
  color: #2d3a2e;
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: #2d3a2e;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

a {
  color: #4a7c59;
  text-decoration: none;
}

a:hover {
  color: #6aab7e;
}

img {
  max-width: 100%;
  display: block;
}

strong {
  font-weight: 600;
  color: #4a7c59;
}

::selection {
  background-color: #eaf3ec;
  color: #4a7c59;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d6e0d6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: #2d3a2e;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b7e6d;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: #4a7c59;
  border-bottom-color: #4a7c59;
}

.main-nav .nav-cta {
  color: #ffffff;
  background-color: #4a7c59;
  padding: 6px 16px;
  border-radius: 8px;
  border-bottom: none;
}

.main-nav .nav-cta:hover {
  background-color: #6aab7e;
  color: #ffffff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 110;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background-color: #2d3a2e;
  border-radius: 2px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  background-color: #f5f7f5;
  border-bottom: 1px solid #d6e0d6;
  padding-top: 130px;
  padding-bottom: 72px;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 72px;
}

.hero-image-wrap {
  position: relative;
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d6e0d6;
  box-shadow: 0 4px 24px rgba(74, 124, 89, 0.12);
}

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

.hero-text {
  flex: 1;
}

.hero-label {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a7c59;
  margin-bottom: 10px;
}

.hero-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #2d3a2e;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-bio {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #6b7e6d;
  max-width: 48ch;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: #4a7c59;
  color: #ffffff;
  border-color: #4a7c59;
}

.btn-primary:hover {
  background-color: #6aab7e;
  border-color: #6aab7e;
  color: #ffffff;
}

.btn-ghost {
  background-color: transparent;
  color: #4a7c59;
  border-color: #4a7c59;
}

.btn-ghost:hover {
  background-color: #eaf3ec;
  color: #4a7c59;
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid #d6e0d6;
}

.alt-bg {
  background-color: #f5f7f5;
}

.section-tag {
  display: block;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a7c59;
  margin-bottom: 6px;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #2d3a2e;
  margin-bottom: 32px;
}

.about-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.about-card {
  flex: 2 1 260px;
  padding: 24px 28px;
  border: 1px solid #d6e0d6;
  border-radius: 16px;
  background-color: #ffffff;
}

.about-card p {
  font-size: 1rem;
  color: #6b7e6d;
  line-height: 1.8;
}

.about-stats {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  padding: 12px 20px;
  border: 1px solid #d6e0d6;
  border-radius: 8px;
  background-color: #ffffff;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.7rem;
  color: #4a7c59;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aaa9b;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: #d6e0d6;
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-dot {
  position: absolute;
  left: -39px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4a7c59;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px #4a7c59;
}

.timeline-card {
  padding: 24px 28px;
  border: 1px solid #d6e0d6;
  border-left: 3px solid #4a7c59;
  border-radius: 16px;
  background-color: #ffffff;
}

.timeline-period {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4a7c59;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: #2d3a2e;
  margin-bottom: 2px;
}

.timeline-company {
  font-size: 0.88rem;
  color: #6b7e6d;
  margin-bottom: 12px;
}

.timeline-desc {
  font-size: 0.93rem;
  color: #6b7e6d;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: #eaf3ec;
  color: #4a7c59;
  border: 1px solid #d6e0d6;
}

.edu-grid {
  display: flex;
  gap: 24px;
}

.edu-card {
  flex: 1 1 260px;
  padding: 24px 28px;
  border: 1px solid #d6e0d6;
  border-top: 3px solid #c4a882;
  border-radius: 16px;
  background-color: #ffffff;
}

.edu-year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b6e4e;
  margin-bottom: 6px;
}

.edu-institution {
  font-weight: 600;
  font-size: 0.95rem;
  color: #2d3a2e;
  margin-bottom: 2px;
}

.edu-degree {
  font-size: 0.93rem;
  color: #4a7c59;
  font-weight: 500;
  margin-bottom: 12px;
}

.edu-desc {
  font-size: 0.88rem;
  color: #6b7e6d;
}

.skills-grid {
  display: flex;
  gap: 40px;
}

.skill-category {
  flex: 1 1 260px;
  padding: 24px 28px;
  border: 1px solid #d6e0d6;
  border-radius: 16px;
  background-color: #ffffff;
}

.skill-cat-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #2d3a2e;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d6e0d6;
}

.skill-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-name {
  font-size: 0.88rem;
  color: #6b7e6d;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background-color: #eef2ee;
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(to right, #4a7c59, #6aab7e);
  border-radius: 999px;
}

.contact-intro {
  font-size: 1.05rem;
  color: #6b7e6d;
  max-width: 44ch;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #2d3a2e;
  background-color: #ffffff;
  border: 1px solid #d6e0d6;
  padding: 12px 20px;
  border-radius: 8px;
  width: fit-content;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.contact-link:hover {
  border-color: #4a7c59;
  color: #4a7c59;
  background-color: #eaf3ec;
}

.contact-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.site-footer {
  background-color: #f5f7f5;
  border-top: 1px solid #d6e0d6;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: #2d3a2e;
}

.footer-copy {
  font-size: 0.8rem;
  color: #9aaa9b;
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 240px;
    background-color: #ffffff;
    border-left: 1px solid #d6e0d6;
    padding: 80px 32px 32px;
    z-index: 105;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.06);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.open {
    display: flex;
    transform: translateX(0);
  }

  .main-nav a {
    font-size: 1rem;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .hero-bio {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-grid {
    flex-direction: column;
  }

  .about-stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .skills-grid {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 48px;
  }

  .hero-image-wrap {
    width: 160px;
    height: 160px;
  }

  .hero-name {
    font-size: 2rem;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .edu-grid {
    flex-direction: column;
  }

  .about-stats {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (min-width: 1300px) {
  .hero-image-wrap {
    width: 260px;
    height: 260px;
  }

  .hero-name {
    font-size: 3.6rem;
  }
}
